Git Product home page Git Product logo

Comments (6)

fengshanjian avatar fengshanjian commented on May 21, 2024 1

改成{name: ‘WeexOne/index’, title: ‘WeexOne’} 即可解决
去掉index后面的.js

from weexone.

dodola avatar dodola commented on May 21, 2024

@PengLL 你有在例子的 index.we 中增加选项么 {name: ‘WeexOne/index.js’, title: ‘WeexOne’}

from weexone.

 avatar commented on May 21, 2024

增加了的。
我的操作步骤:
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.

2010jing avatar 2010jing commented on May 21, 2024

@PengLL 我也是遇到一样问题

from weexone.

dodola avatar dodola commented on May 21, 2024

@fengshanjian 👍,我用的那个版本之前还需要增加后缀,现在貌似去掉了

from weexone.

JakeWoki avatar JakeWoki commented on May 21, 2024

androidstudio的playground是什么?

from weexone.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.