https://github.com/halfrost/weex-objccn
💎 这是一个 vue 转 weex 的项目
https://github.com/halfrost/weex-objccn
Last synced: over 1 year ago
JSON representation
💎 这是一个 vue 转 weex 的项目
- Host: GitHub
- URL: https://github.com/halfrost/weex-objccn
- Owner: halfrost
- License: gpl-3.0
- Created: 2017-06-28T11:52:03.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-13T23:03:26.000Z (about 9 years ago)
- Last Synced: 2025-03-18T18:58:17.756Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 80.1 KB
- Stars: 23
- Watchers: 3
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# weex-objccn
💎 这是一个vue转weex的项目
> weex-objccn
## getting start
```bash
npm install
```
## file structure
* `src/*`: all source code
* `app.js`: entrance of the Weex page
* `build/*`: some build scripts
* `dist/*`: where places generated code
* `assets/*`: some assets for Web preview
* `index.html`: a page with Web preview and qrcode of Weex js bundle
* `weex.html`: Web render
* `.babelrc`: babel config (preset-2015 by default)
* `.eslintrc`: eslint config (standard by default)
## npm scripts
```bash
# build both two js bundles for Weex and Web
npm run build
# build the two js bundles and watch file changes
npm run dev
# start a Web server at 8080 port
npm run serve
# start weex-devtool for debugging with native
npm run debug
```
## notes
You can config more babel, ESLint and PostCSS plugins in `webpack.config.js`.