feat: 新增路径别名
This commit is contained in:
parent
0916259a15
commit
e6fd749305
@ -5,8 +5,6 @@
|
||||
"ComputedRef": true,
|
||||
"DirectiveBinding": true,
|
||||
"EffectScope": true,
|
||||
"ElMessage": true,
|
||||
"ElMessageBox": true,
|
||||
"ExtractDefaultPropTypes": true,
|
||||
"ExtractPropTypes": 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: {
|
||||
alias: {
|
||||
"@": path.resolve(__dirname, "./src"),
|
||||
"~": path.resolve(__dirname, "./src/assets"),
|
||||
"GCnps": path.resolve(__dirname, "./src/components"),
|
||||
},
|
||||
},
|
||||
css: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user