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: [
 | 
					  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))
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user