a Boilerplate for mobile SPAs use vue, vuex, vue-router
Check out Demonstrations and README for UI Components
Usage
# install dependencies
npm install
# start a mocking server at localhost:3001
npm run mock
# serve with hot reload at localhost:3000
npm run dev
# eslint, stylelint, unit and e2e test
npm test
# compile files for production with minification
npm run compile
# test, clean, and compile
npm run build
# serve dist, like production
npm start
# generate demo site and push to gh-pages
npm run docs
# push modifications to github
npm run push
Features
- Core
- Vue
- Vue-Router
- Vuex
- Vuex-Actions (for async actions)
- Vuex-LocalStorage (for cache and persistence)
- I18N
- Validator
- Build
- Linters
- Tests
- Transformers
Components
- Core
- Avatar
- Badge
- Form
- Button
- Checkbox (Switcher)
- Textfield (text, email, password, url, number, search, etc)
- Multiline
- Password (with showing password toggle)
- Icon
- Image
- Modal
- Picker
- Progress
- Range
- Scroller (with pulling up and down)
- Slider
- Spinner
- Swiper
- Toast
- Others
- Paginator
- Uploader
Scaffolding
Use Vue-cli to get a clean and clear copy without demonstrations
$ npm install -g vue-cli
$ vue init crossjs/plato#template <project-name>
Browser Support
- Android 4+
- iOS 7+
Changelog
Detailed changes for each release are documented in the release notes.