# weex-vue-examples **Repository Path**: fmic/weex-vue-examples ## Basic Information - **Project Name**: weex-vue-examples - **Description**: A group of examples for using Weex and Vue 2.0 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-03-30 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Weex Vue Examples A group of examples for using Weex and Vue.js. ## 在 [vue-snippets](https://github.com/Hanks10100/vue-snippets) 有这些例子在 [dotwe](http://dotwe.org/vue) 的链接,更方便预览 ## 运行方法 首先并安装依赖。然后: + `npm run build`: 编译项目。 + `npm run serve`: 会监听本地 8080 端口,打开 [`http://localhost:8080`](http://localhost:8080/) 可以在浏览器中预览页面。 + `npm run dev`: 监听 src 目录中的文件变化,并自动编译。 ### 在线预览 将例子代码复制到 [dotwe.org](http://dotwe.org/vue) 上,然后使用 [Weex Playground App](https://weex-project.io/cn/playground.html) 扫描二维码就可以查看页面了。 ### 本地调试 `npm run dev`,然后修改 `src/App.vue` 里引入组件的路径,可以预览不同的例子。(建议直接用 dotwe 预览)