chore: initialize frontend miniapp repository

This commit is contained in:
lyf
2026-06-09 21:08:45 +08:00
commit a90f63cef0
107 changed files with 60454 additions and 0 deletions

26
vite.config.ts Normal file
View File

@@ -0,0 +1,26 @@
import { defineConfig } from 'vite'
import uni from '@dcloudio/vite-plugin-uni'
export default defineConfig({
plugins: [uni()],
server: {
host: '0.0.0.0'
},
resolve: {
alias: {
'@': '/src'
}
},
optimizeDeps: {
include: ['three']
},
build: {
rollupOptions: {
output: {
manualChunks: {
three: ['three']
}
}
}
}
})