Implemented basic Vue.js frontend (#222)
Co-authored-by: Adam Bem <adam.bem@zoho.eu> Co-authored-by: widlam <mikolaj.widla@gmail.com> Reviewed-on: #222 Reviewed-by: Mikolaj Widla <widlam@noreply.example.com>
This commit is contained in:
18
Frontend/vite.config.ts
Normal file
18
Frontend/vite.config.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
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)),
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user