An open API service indexing awesome lists of open source software.

https://github.com/halfrost/weex-objccn

💎 这是一个 vue 转 weex 的项目
https://github.com/halfrost/weex-objccn

Last synced: over 1 year ago
JSON representation

💎 这是一个 vue 转 weex 的项目

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`.