Move frontend files
This commit is contained in:
parent
b7ce9d850d
commit
36da67f369
36 changed files with 2 additions and 5 deletions
22
frontend/vite.config.ts
Normal file
22
frontend/vite.config.ts
Normal file
|
@ -0,0 +1,22 @@
|
|||
import { fileURLToPath, URL } from 'node:url'
|
||||
|
||||
import { defineConfig } from 'vite'
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
vue(),
|
||||
],
|
||||
//base: './',
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': fileURLToPath(new URL('./src', import.meta.url))
|
||||
}
|
||||
},
|
||||
server: {
|
||||
hmr: {
|
||||
host: 'localhost'
|
||||
}
|
||||
}
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue