solve access to /login
Vite won't export not specified page, so I specified it in the config.
This commit is contained in:
		@ -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))
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user