wemark
                                
                                 wemark copied to clipboard
                                
                                    wemark copied to clipboard
                            
                            
                            
                        在 taro 2.0 该如何使用?
@OHeroJ @TooBug  Hi, I hava solved this problem, and just copy wemark to dist/wemark,
step:
1.yarn dev:weapp 
2.copy wemark to dist
reason: lack of some core files with build. good luck.
@OHeroJ @TooBug Hi, I hava solved this problem, and just copy
wemarktodist/wemark, step:1.yarn dev:weapp 2.copy wemark to distreason: lack of some core files with build. good luck.
I find this bug,you can see this issue. Wemark Issue. my config:
copy: {
    patterns: [
      { from: 'src/wemark', to: 'dist/wemark' },
    ],
    options: {}
  },
  mini: {
    compile: {
      exclude: [
        path.resolve(__dirname, '..', 'src/wemark/remarkable.js')
      ]
    },
}
在 taro 3 中使用,会报这个错:
[WXML Runtime warning] ./base.wxml
 Template `tmpl_0_wemark` not found.
  287 | 
  288 | <template name="tmpl_1_container">
> 289 |   <template is="{{xs.a(1, i.nn, l)}}" data="{{i:i,cid:1,l:xs.f(l,i.nn)}}" />
      |                ^
  290 | </template>
  291 | 
  292 | <template name="tmpl_2_catch-view">
在 taro 3 中使用,会报这个错:
[WXML Runtime warning] ./base.wxml Template `tmpl_0_wemark` not found. 287 | 288 | <template name="tmpl_1_container"> > 289 | <template is="{{xs.a(1, i.nn, l)}}" data="{{i:i,cid:1,l:xs.f(l,i.nn)}}" /> | ^ 290 | </template> 291 | 292 | <template name="tmpl_2_catch-view">
+1