Co-authored-by: widlam <mikolaj.widla@gmail.com> Reviewed-on: #224 Reviewed-by: Adam Bem <bema@noreply.example.com> Co-authored-by: Mikolaj Widla <widlam@noreply.example.com> Co-committed-by: Mikolaj Widla <widlam@noreply.example.com>
		
			
				
	
	
		
			20 lines
		
	
	
		
			538 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			538 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import { fileURLToPath, URL } from 'node:url'
 | |
| 
 | |
| import { defineConfig } from 'vite'
 | |
| import vue from '@vitejs/plugin-vue'
 | |
| 
 | |
| // https://vitejs.dev/config/
 | |
| export default defineConfig({
 | |
|   plugins: [
 | |
|     vue(),
 | |
|   ],
 | |
|   resolve: {
 | |
|     alias: {
 | |
|       '@': fileURLToPath(new URL('./src', import.meta.url)),
 | |
|       '@components': fileURLToPath(new URL('./src/components', import.meta.url)),
 | |
|       '@views': fileURLToPath(new URL('./src/views', import.meta.url)),
 | |
|       '@assets': fileURLToPath(new URL('./src/assets', import.meta.url)),
 | |
|     }
 | |
|   }
 | |
| })
 |