# weex-demo **Repository Path**: truemaker/weex-demo ## Basic Information - **Project Name**: weex-demo - **Description**: weex全平台解决方案 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 5 - **Forks**: 0 - **Created**: 2016-09-01 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # weex demo ## 如何使用 ### 安装 ```bash npm install ``` ### 运行 ```bash npm run server ``` ### 开发 ```bash npm run dev ``` 然后访问: `http://localhost:8080/` ### native 预览 native 预览,需要安装 [weex-toolkit](http://alibaba.github.io/weex/doc/tools/cli.html) 才能使用 weex 命令; 手机上需要使用 [Weex Playground app](http://alibaba.github.io/weex/download.html) 来扫描二维码。 ### 开发 开发目录:`src` 输出目录:`dist` * `npm run server`: 启动服务 * `npm run dev`: 开发环境 * `npm run build`: 打包环境