Finished initializing client project

This commit is contained in:
Donald Zou
2025-05-31 20:52:53 +08:00
parent 568da8cc64
commit df7f9f2b14
41 changed files with 184 additions and 633 deletions

View File

@@ -6,21 +6,14 @@ import vueDevTools from 'vite-plugin-vue-devtools'
// https://vite.dev/config/
export default defineConfig({
base: "/static/client/dist",
plugins: [
vue(),
vueDevTools(),
{
name: 'rename',
enforce: 'post',
generateBundle(options, bundle) {
bundle['index.html'].fileName = bundle['index.html'].fileName.replace('index.html', 'client.html')
}
}
],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
},
}
},
base: '/static/client/dist'
})