Home > other >  In - the - "transpileDependencies" - tip - can't find the module - what can I do?
In - the - "transpileDependencies" - tip - can't find the module - what can I do?

Time:11-17


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
  • Related