Questions tagged [weex]

weex or weex.js is a framework for building mobile cross-platform UI from alibaba.

weex is a framework for building mobile cross-platform UI native.

It is similar in concept to React-native, but ir uses VUE.js as it's core js library. Components render as native elements, but it runs javascript in a separate process.

Official docs are here https://weex-project.io/

50 questions
2
votes
1 answer

How to use Weex ios sdk pragma #define WX_EXPORT_METHOD(method) in swift?

I am using Weex ios sdk. For exposing js method there is a pragma #define WX_EXPORT_METHOD(method) But this pragma is accessible in objective C file only. I need to use this in swift file. Is there any way to do so ?
Brammanand Soni
  • 177
  • 1
  • 4
  • 12
2
votes
1 answer

Xcode 9 compile error after integrating weex sdk

I builded the WeexSDK.framework by myself with Xcode 9. Then integrated the framework into my project. Got weird compile error log when build my app, could someone help me? Undefined symbols for architecture arm64: "___llvm_profile_runtime",…
Kinka Lin
  • 121
  • 7
1
vote
0 answers

exception about weex_sdk:0.18.0

recently encountered an occasional problem all of logcat: com.taobao.weex.ui.flat.FlatGUIContext.getFlatComponentAncestor(com.taobao.weex.ui.component.WXComponent)' on a null object reference at…
joe wang
  • 11
  • 1
1
vote
1 answer

initialising a global mixin in weex

I initialised a weex and vue app using weex create awesome-project. In the entry.js file I am trying to register a global mixin but it does not seem to be registering. The code is is: import weex from 'weex-vue-render' import Vue from…
Tuqire Hussain
  • 171
  • 1
  • 11
1
vote
1 answer

How to intercept events when navigator changes in a Weex app?

I use vue-router in my weex app, and manage jumping in pages by this.$router.push and this.$router.go(-1). However, my weex app is a SPA, and when clicking the RETURN entity key in Android, the whole page is closed. How can I intercept events when…
尹雄拼
  • 11
  • 1
1
vote
0 answers

Is the official Javascript engine for weex on Android JSC or v8?

According to the doc https://github.com/apache/incubator-weex, weex on android utilises chrome v8 engine which is quite true for versions <= 0.10. However, the latest apache/incubator-weex fork seems to be using JSC as the engine. Will JSC be the…
1qnew
  • 11
  • 3
1
vote
0 answers

Why Built-in Modules -> modal not working on HTML5

on html5 Preview URI : http://dotwe.org/raw/htmlVue/8f4f21cabee879fab13daa626049f4d5?1509479282984 Also @click isn't working on web for the component
1
vote
1 answer

Cross-device local assets location in Weex

Working with Weex 0.16 I generated the default "WeexDemo" project for Web, iOS and Android, and the default index files works without issue. I'm trying to figure out the folder location where I can put image files and other assets. I changed the…
1
vote
1 answer

'weexpack run web' throwing error

I've installed a weexpack project. When I am trying to run the command weexpack run web It's showing error. module.js:442 throw err; ^ Error: Cannot find module '../src/run/Web' at Function.Module._resolveFilename (module.js:440:15) at…
ZIS
  • 507
  • 1
  • 6
  • 14
0
votes
0 answers

I have some issues with my Andorid project, Error name:#3254133 SIGABRT #01 pc 00000

enter image description here This is my error log , I can't find the cause of the problem , can u help me? The app crashed , Will happen by chance. I am unable to analyze a valid reason from the error log . Can you help me take a look?
ZeKu
  • 1
0
votes
0 answers

The height of the weex component is not accurate?

The current WeexSDK version 0.18.0,I use show similar effect on the simulator and the real machine and the text can't be fully displayed as shown below. Also I've added the script to show how to calculate the height of the text component in source…
leijmin
  • 1
  • 1
0
votes
1 answer

weex input number limit

use component, when i input content,it has a limit condation,only input number length is 8,and only 2 radix point,for example,can input 123.45, 123.456 is not.
Blues
  • 93
  • 6