feat(web): add authenticated app shell

This commit is contained in:
zl-q
2026-05-09 16:00:29 +08:00
parent c12320cb79
commit 5aa46d3311
73 changed files with 2571 additions and 250 deletions
+20
View File
@@ -14,5 +14,25 @@ export default defineConfig({
},
vite: {
plugins: [tailwindcss()],
server: {
proxy: {
'/api': {
target: 'https://api.meeyao.com',
changeOrigin: true,
secure: true,
},
},
},
optimizeDeps: {
include: ['react', 'react-dom', 'react/jsx-dev-runtime'],
esbuildOptions: {
define: {
'process.env.NODE_ENV': '"development"',
},
},
},
resolve: {
dedupe: ['react', 'react-dom'],
},
},
});