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

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"),
},
},
});