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 3.6.7 / 微信小程序 使用 @nutui/[email protected],编译后提示模版找不到 #7

Open
smoothdvd opened this issue Jun 9, 2023 · 2 comments

Comments

@smoothdvd
Copy link

[WXML Runtime warning] ./base.wxml
 Template `tmpl_0_i` not found.
  355 | 
  356 | <template name="tmpl_3_container">
> 357 |   <template is="{{xs.a(3, i.nn, l)}}" data="{{i:i,cid:3,l:xs.f(l,i.nn)}}" />
      |                ^
  358 | </template>
  359 | 
  360 | <template name="tmpl_4_0">
@eiinu
Copy link
Member

eiinu commented Jun 9, 2023

在 config/index 中关闭 prebundle 以及 cache,能解决大多数 Taro 找不到模板的问题,可以试一下。

compiler: {
  type: 'webpack5',
  prebundle: { enable: false }
}

@smoothdvd
Copy link
Author

已经关闭了

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

No branches or pull requests

2 participants