summaryrefslogtreecommitdiff
path: root/pse-dashboard/vite.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'pse-dashboard/vite.config.js')
-rw-r--r--pse-dashboard/vite.config.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/pse-dashboard/vite.config.js b/pse-dashboard/vite.config.js
new file mode 100644
index 0000000..ff86a56
--- /dev/null
+++ b/pse-dashboard/vite.config.js
@@ -0,0 +1,14 @@
+import { defineConfig } from 'vite'
+import vue from '@vitejs/plugin-vue'
+import path from 'path'
+
+// https://vitejs.dev/config/
+export default defineConfig({
+ plugins: [vue()],
+ base: process.env.BASE_DIR || "/",
+ resolve: {
+ alias: {
+ '@' : path.resolve(__dirname, './src'),
+ }
+ }
+})