solve access to /login
Vite won't export not specified page, so I specified it in the config.
This commit is contained in:
parent
36f1ab3203
commit
dcd1fad6ac
@ -8,6 +8,15 @@ export default defineConfig({
|
|||||||
plugins: [
|
plugins: [
|
||||||
vue(),
|
vue(),
|
||||||
],
|
],
|
||||||
|
build: {
|
||||||
|
rollupOptions:{
|
||||||
|
input:{
|
||||||
|
main: './index.html',
|
||||||
|
login: './login/index.html'
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
'@': fileURLToPath(new URL('./src', import.meta.url))
|
'@': fileURLToPath(new URL('./src', import.meta.url))
|
||||||
|
Loading…
Reference in New Issue
Block a user