This project is deprecated in favor of https://vapperjs.org
yarn add ream
Unlike a regular Vue SPA, you must export a function which returns an object in your app entry in order to make it work with Ream:
// index.js
import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)
export default () => ({
router: new Router({
mode: 'history',
routes: [{
path: '/',
// Dynamically load your index component
component: () => import('./index.vue')
}]
})
})
And that's it, run ream dev
and have fun playing with your app at http://localhost:4000
.
- Document how to modify internal webpack config.
- Add proper tests.
To make things happen faster, you may consider becoming a patron to support the development:
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
ream © egoist, Released under the MIT License.
Authored and maintained by egoist with help from contributors (list).
github.com/egoist · GitHub @egoist · Twitter @_egoistlily