weex icon indicating copy to clipboard operation
weex copied to clipboard

Why 'weex -s .' didn't work

Open ohshi000 opened this issue 10 years ago • 6 comments

➜ weex git:(dev) weex -s . info Wed Jun 29 2016 15:57:14 GMT+0800 (CST)http is listening on port 8081 info we file in local path . will be transformer to JS bundle please access http://10.1.36.129:8081/

ohshi000 avatar Jun 29 '16 07:06 ohshi000

what is you expection?

lvscar avatar Jun 29 '16 08:06 lvscar

we files didn't be transformer to JS bundle.

ohshi000 avatar Jun 29 '16 09:06 ohshi000

-s just start server

you could try -o for transform we file to JS Bundle 。

lvscar avatar Jun 30 '16 03:06 lvscar

我也是用-s命令去做,然后通过浏览器访问,但是看到的是以文档形式,而不是呈现出页面

yahooyee avatar Jun 30 '16 03:06 yahooyee

同问,这个问题有没有解决掉?weex -s 出来的是文档,不是能渲染出的页面。

ghost avatar Jul 05 '16 03:07 ghost

目前的 -s 设计意图就是仅仅进行js bundle 转换. 直接渲染页面的需求我们后续会考虑,谢谢反馈 也欢迎提PR :-)

lvscar avatar Jul 06 '16 04:07 lvscar