weex Android 空白,引用weex-ui组件android界面显示空白,除了example例子还没成功运行过...

杜翰林
2023-12-01

1.用weex create test创建weex项目

2.后续按照weex-ui提示做:

npm i weex-ui -S

import { WxcButton, WxcPopup } from 'weex-ui';

添加到index.vue里面

3.运行看效果 weexpack run android 不能显示出来

界面提示 : render error:-2013

log提示:10-12 10:47:11.022 19480-20668/com.alibaba.weex E/jsengine: ReportException :undefined:630: SyntaxError: Unexpected token (

10-12 10:47:11.025 19480-20668/com.alibaba.weex E/jsengine: ReportException : SyntaxError: Unexpected token (

at Jt ((weex):4:2004)

at Object.Dt [as createInstance] ((weex):3:31729)

at Object.R [as createInstance] ((weex):1:7385)

at global.(anonymous function) ((weex):7:1148)

10-12 10:47:11.026 19480-20668/com.alibaba.weex E/weex: reportJSException >>>> instanceId:1, exception function:createInstance, exception:SyntaxError: Unexpected token (

 类似资料: