Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Jocs/easy-weex
a weex application for beginer
https://github.com/Jocs/easy-weex
vue-router vue2 vuex webpack weex
Last synced: about 1 month ago
JSON representation
a weex application for beginer
- Host: GitHub
- URL: https://github.com/Jocs/easy-weex
- Owner: Jocs
- Created: 2017-04-06T18:08:52.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-09-01T19:45:58.000Z (about 4 years ago)
- Last Synced: 2024-06-03T18:56:05.267Z (3 months ago)
- Topics: vue-router, vue2, vuex, webpack, weex
- Language: Vue
- Size: 170 KB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# easy-weex
This application is inspired by [easy-vue](https://github.com/TIGERB/easy-vue).which is build by **vue + vuex + vue-router**. **easy-weex** is build by **weex + vue + vuex + vue-router**. enjoy it!
> easy-weex
## getting start
```bash
npm install
```## file structure
* `src/*`: all source code
* `src/app.js`: entrance of the Weex page
* `dist/*`: where places generated code
* `src/assets/*`: some assets for Web preview
* `index.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 3000 port
npm run start# start weex-devtool for debugging with native
npm run debug
```## notes
You can config more babel, ESLint and PostCSS plugins in `webpack.config.js`.