Added path handling

This commit is contained in:
Malasaur 2026-02-02 22:16:32 +01:00
parent a3748a14df
commit 7286e6d513
No known key found for this signature in database
3 changed files with 13 additions and 7 deletions

2
package-lock.json generated
View file

@ -13,7 +13,7 @@
"vue": "^3.5.24"
},
"devDependencies": {
"@types/node": "^24.10.1",
"@types/node": "^24.10.9",
"@vitejs/plugin-vue": "^6.0.1",
"@vue/tsconfig": "^0.8.1",
"typescript": "~5.9.3",

View file

@ -14,7 +14,7 @@
"vue": "^3.5.24"
},
"devDependencies": {
"@types/node": "^24.10.1",
"@types/node": "^24.10.9",
"@vitejs/plugin-vue": "^6.0.1",
"@vue/tsconfig": "^0.8.1",
"typescript": "~5.9.3",

View file

@ -1,7 +1,13 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import path from "node:path";
import { defineConfig } from "vite";
import tailwindcss from "@tailwindcss/vite";
import vue from "@vitejs/plugin-vue";
// https://vite.dev/config/
export default defineConfig({
plugins: [vue()],
})
plugins: [vue(), tailwindcss()],
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
});