Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在 taro 2.0 该如何使用? #88

Open
OHeroJ opened this issue Jan 12, 2020 · 4 comments
Open

在 taro 2.0 该如何使用? #88

OHeroJ opened this issue Jan 12, 2020 · 4 comments

Comments

@OHeroJ
Copy link

OHeroJ commented Jan 12, 2020

No description provided.

@moremind
Copy link

@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.

@moremind
Copy link

@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.

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')
      ]
    },
}

@Jeff-Tian
Copy link

在 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">

@androidZzT
Copy link

在 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants