The main. Js
Vue. Config. Js
1. Png950 x 908 35.2 KB
CodePudding user response:
Const path=the require (" path ")The function resolve (dir) {
Return path. Join (__dirname, '/', dir)
}
The module. Exports={
TranspileDependencies: [
//can be a string or regex
Resolve (' node_modules/vue - echarts),
Resolve (' node_modules/resize - detector),
],
}
ok
CodePudding user response:
Is not good,,,,,,, transpileDependencies doesn't work again,;CodePudding user response:
Hello, could you tell me then you have solved this problem