feat: initialize GitHub commits widget with React and TypeScript
- Add package.json with dependencies and scripts for development - Create main application structure with App component - Implement GitHubWidget component to display recent commits - Add GitHubCommitItem component for individual commit display - Create custom hooks for fetching GitHub and Gitea commits - Set up Vite for development and build processes - Include Tailwind CSS for styling - Add styles for the widget and components - Configure TypeScript with appropriate settings - Create utility functions for GitHub API interactions
This commit is contained in:
8
vite.config.ts
Normal file
8
vite.config.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { defineConfig } from "vite";
|
||||
import react from "@vitejs/plugin-react";
|
||||
import tailwindcss from "@tailwindcss/vite";
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react(), tailwindcss()],
|
||||
});
|
||||
Reference in New Issue
Block a user