- 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
9 lines
224 B
TypeScript
9 lines
224 B
TypeScript
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()],
|
|
});
|