Comments (6)
改成{name: ‘WeexOne/index’, title: ‘WeexOne’} 即可解决
去掉index后面的.js
from weexone.
@PengLL 你有在例子的 index.we 中增加选项么 {name: ‘WeexOne/index.js’, title: ‘WeexOne’}
from weexone.
增加了的。
我的操作步骤:
1.androidstudio打开playground,更改current_ip.为我的localIP
2.将clone下来的weexone-master中的weexone文件夹拷贝到了weex项目的example文件夹中
3.在index.we添加选项{name: ‘WeexOne/index.js’, title: ‘WeexOne’}
4.weex根目录下npm install , ./start执行命令的结果都正常
4.运行playground
列表里面没有增加weexone选项,其他选项正常的
我进行了两种测试;
1.我把index.we中某一个选项进行了更改,例如{name: 'hello', title: 'Hello World'}的title改为hello
{name: 'hello', title: 'Hello'}然后install, ./start。但是playground中第一项依然是hello world,并没改成hello
2.我更改了hello.we中的内容,例如将hello world改为hello,然后install ./start.这时手机上的playground中hello world选项的内容得到了更新,变为了hello。
from weexone.
@PengLL 我也是遇到一样问题
from weexone.
@fengshanjian
from weexone.
androidstudio的playground是什么?
from weexone.
Related Issues (20)
- 最新版的weex无法require api.js HOT 4
- Uncaught TypeError: apis.getHome is not a function HOT 4
- 是否可以在浏览器端运行该程序 HOT 1
- 请问楼主你使用什么编辑器,貌似没有支持.we文件的编辑器 HOT 2
- 貌似没看到package.json…… HOT 1
- hello weexone server api hung up HOT 3
- Open android/playground是哪里呢? HOT 3
- 安卓或者苹果手机调试main.we文件,页面显示不出来 HOT 1
- 运行`npm run build` 报错! HOT 1
- 请问android文件夹是做什么用的? HOT 1
- build error (window8 android studio 2.1.2.)
- debug HOT 1
- 去掉上面那个条码的,单独一个页面 跳转有问题 是什么回事
- iOS端什么时候能出来
- 占用内存太大了
- 请教问题 HOT 4
- 请问是如何支持display属性的
- 电影模块显示空白,但是可以点击。赶紧修复吧 HOT 1
- 微信分享
- 你好运行项目报错如下
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from weexone.