apache / incubator-weex-loader

Apache License 2.0
65 stars 32 forks source link

Error when preview examples/index.we "define a component xxx that already exists" #16

Closed Jinjiang closed 8 years ago

Jinjiang commented 8 years ago

error log:

register.js:92 [JS Framework] define a component(wxc-navbar) that already exists
register.js:92 [JS Framework] define a component(wxc-tabitem) that already exists

The examples/index.we is in weex main repo

lmnsg commented 8 years ago

也遇到这个问题了, 我现在解决的办法是直接 require 需要的那个组件 require('weex-components/src/wxc-tabbar.we')