Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:25:40 +08:00
commit 69df674920
25 changed files with 4327 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
/**
* Vite Configuration for TinaCMS + React
*
* Key settings:
* - React plugin for JSX support
* - Port 3000 (TinaCMS default)
* - Host 0.0.0.0 for Docker compatibility
*/
export default defineConfig({
plugins: [react()],
server: {
port: 3000,
host: '0.0.0.0', // Allows external connections (Docker, network)
},
build: {
outDir: 'dist',
},
})