-
Notifications
You must be signed in to change notification settings - Fork 0
/
vue.config.js
23 lines (23 loc) · 867 Bytes
/
vue.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
const path = require("path");
const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
transpileDependencies: true,
configureWebpack: {
resolve: {
alias: {
"@": path.resolve("./src"),
"@atomics": path.resolve("./src/components/atomics"),
"@molecules": path.resolve("./src/components/molecules"),
"@organisms": path.resolve("./src/components/organisms"),
"@pages": path.resolve("./src/pages"),
"@components": path.resolve("./src/components"),
"@assets": path.resolve("./src/assets"),
"@layout": path.resolve("./src/layout"),
"@styles": path.resolve("./src/styles"),
"@constants": path.resolve("./src/constants"),
"@hooks": path.resolve("./src/hooks"),
},
extensions: [".js", ".vue", ".json", ".tsx", ".jsx"],
},
},
});