Basic Vue setup.

This commit is contained in:
2023-07-17 23:09:58 +02:00
parent a30ac3f997
commit b5860b4f64
21 changed files with 4335 additions and 6 deletions

20
cmd/admin/vite.config.ts Normal file
View File

@@ -0,0 +1,20 @@
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))
}
},
base: "/admin",
define: {
__VITE_PROD_DEVTOOLS__: false
}
})