wx-component icon indicating copy to clipboard operation
wx-component copied to clipboard

index.js里面对于components的路径是有问题的

Open lyh2668 opened this issue 6 years ago • 0 comments

在index的40行let component = new Component(require(../components/${item}/index))

  1. 该组件一般放在libs目录下,index的path为'/libs/wx-component/index.js'
  2. components目录一般和pages同级,所以这个地方将无法正确引入components目录,希望做一下修改。

lyh2668 avatar Oct 22 '17 14:10 lyh2668