feat: 新增路径别名
This commit is contained in:
parent
0916259a15
commit
e6fd749305
@ -5,8 +5,6 @@
|
|||||||
"ComputedRef": true,
|
"ComputedRef": true,
|
||||||
"DirectiveBinding": true,
|
"DirectiveBinding": true,
|
||||||
"EffectScope": true,
|
"EffectScope": true,
|
||||||
"ElMessage": true,
|
|
||||||
"ElMessageBox": true,
|
|
||||||
"ExtractDefaultPropTypes": true,
|
"ExtractDefaultPropTypes": true,
|
||||||
"ExtractPropTypes": true,
|
"ExtractPropTypes": true,
|
||||||
"ExtractPublicPropTypes": true,
|
"ExtractPublicPropTypes": true,
|
||||||
|
|||||||
0
src/plugins/modules/globalComponentsPlugin.ts
Normal file
0
src/plugins/modules/globalComponentsPlugin.ts
Normal file
@ -13,6 +13,8 @@ export default defineConfig((cnf) => {
|
|||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
"@": path.resolve(__dirname, "./src"),
|
"@": path.resolve(__dirname, "./src"),
|
||||||
|
"~": path.resolve(__dirname, "./src/assets"),
|
||||||
|
"GCnps": path.resolve(__dirname, "./src/components"),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
css: {
|
css: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user