init repo
This commit is contained in:
28
vite.config.js
Normal file
28
vite.config.js
Normal file
@@ -0,0 +1,28 @@
|
||||
import vue from "@vitejs/plugin-vue";
|
||||
import path from "node:path";
|
||||
|
||||
import { defineConfig } from "vite";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import { quasar, transformAssetUrls } from "@quasar/vite-plugin";
|
||||
|
||||
export default defineConfig({
|
||||
resolve: {
|
||||
alias: {
|
||||
"@": path.resolve(__dirname, "src/"),
|
||||
"@assets": path.resolve(__dirname, "src/assets/"),
|
||||
"@components": path.resolve(__dirname, "src/components/"),
|
||||
"@utils": path.resolve(__dirname, "src/utils/"),
|
||||
},
|
||||
extensions: [".js", ".vue", ".json"],
|
||||
},
|
||||
plugins: [
|
||||
vue({
|
||||
template: { transformAssetUrls },
|
||||
}),
|
||||
quasar({
|
||||
sassVariables: fileURLToPath(
|
||||
new URL("./src/quasar-variables.sass", import.meta.url)
|
||||
),
|
||||
}),
|
||||
],
|
||||
});
|
||||
Reference in New Issue
Block a user