Skip to content

Commit

Permalink
fixing alias issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshschuler committed May 25, 2023
1 parent b1f814f commit b1b269e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions frontend/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import vue from "@vitejs/plugin-vue";
import path from "path";
import { resolve } from "path";
import { defineConfig } from "vite";
import WindiCSS from "vite-plugin-windicss";

Expand All @@ -17,7 +17,9 @@ export default defineConfig({
},
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
"~/": `${resolve(__dirname, "src")}/`,
"@": resolve("src"),
"@components": resolve("src/@components"),
},
},
plugins: [WindiCSS(), vue()],
Expand Down

0 comments on commit b1b269e

Please sign in to comment.