1
0
forked from PGL/Clyde

solve access to /login

Vite won't export not specified page, so I specified it in the config.
This commit is contained in:
Debucquoy Anthony 2024-03-05 10:51:49 +01:00
parent 36f1ab3203
commit dcd1fad6ac
Signed by untrusted user: tonitch
GPG Key ID: A78D6421F083D42E
2 changed files with 9 additions and 0 deletions

View File

@ -8,6 +8,15 @@ export default defineConfig({
plugins: [
vue(),
],
build: {
rollupOptions:{
input:{
main: './index.html',
login: './login/index.html'
}
}
},
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))