Initialize example project with React, TypeScript, and Vite
- Added example directory with a minimal setup for a React application using Vite. - Included essential configuration files: tsconfig.json, tsconfig.app.json, tsconfig.node.json, and vite.config.ts. - Implemented basic components and styles in src/ directory, including App.tsx and App.css. - Created README.md for documentation on project setup and usage. - Introduced .gitignore and ESLint configuration for better development practices.
This commit is contained in:
1 parent
8f003baee2
commit
b2d3679f87
19 files changed
+2754
-7
No files matched your search
@@ -0,0 +1,14 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
import mkcert from 'vite-plugin-mkcert'
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
react(),
|
||||
mkcert({ savePath: './certs' }),
|
||||
],
|
||||
server: {
|
||||
host: '0.0.0.0',
|
||||
}
|
||||
})
|
||||
Reference in new issue
Block a user