https://github.com/tw93/weex-ui-demo
Weex Ui Demo
https://github.com/tw93/weex-ui-demo
Last synced: over 1 year ago
JSON representation
Weex Ui Demo
- Host: GitHub
- URL: https://github.com/tw93/weex-ui-demo
- Owner: tw93
- Created: 2018-01-17T01:50:59.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-17T09:30:22.000Z (over 8 years ago)
- Last Synced: 2025-03-20T20:17:47.469Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 631 KB
- Stars: 60
- Watchers: 6
- Forks: 21
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Weex Ui Demo
## Start
### Before
Before installing, It`s recommended that your Node version >= 8.0, Also recommended to use [n](https://github.com/tj/n) for version management, while suggesting NPM version >= 5.
And make sure [weex-toolkit](https://github.com/weexteam/weex-toolkit) is latest. You can see more in [【with-weex-toolkit】](https://alibaba.github.io/weex-ui/#/docs/with-weex-toolkit).
### Clone it
> git clone https://github.com/tw93/weex-ui-demo.git
> npm i
### Running
Start a Web server at 8080 port
> npm run serve
> weex src/index.vue
Add a weex platform of Android and run commands for testing
> weexpack platform add android
> weex run android
Add a weex platform of iOS and run commands for testing
> weexpack platform add ios
> weex run ios
| Web |Preview|iOS|
|:--|:--|:--|
|
|
|
|