here is my question, i appreciate your kind answers:
i am trying to use weex in a regular vue project.
i am really happy by the web preview feature that weex is providing out of the box, and i was curios that if it is possible to use weex for only a portion of app.
for instance i am working on a drag and drop prototype designer, and i wanted weex to just render the canvas part, or to better say the canvas area of my studio, and the rest of the studio rendered regularly with vue and vue-loader
i investigate the common config for webpack inside a sample weex project,
_
Pouya Miralayi
@pouyamiralayi
i figured out that for web rendering, webpack configured to use a different entry point and loader(vue-loader), and i was curios that if it is possible that this entry point be a vue component ( from the perspective of the project i am working on, this vue component is the result of the canvas user is interacting to prototype the app) .
by doing this, i can render the canvas of my studio in the web preview that weex is providing and also rendering it using weex loader as well. currently if i try to acheive this with regular weex webpack configs, it will render the whole thing, all of my studio, but i only intend to do this for the canvas part.
thanks in advance.
huanghao1234
@huanghao1234
1
huanghao1234
@huanghao1234
ios weex gif图片只加载第一帧?
Stone
@helei2015
weex-h5 ,TypeError: document.getelementsbytagname is not a function,What's the problem with the gods?