- 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.
15 lines
284 B
TypeScript
15 lines
284 B
TypeScript
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',
|
|
}
|
|
})
|