ether-vway
v0.5.0-alpha.10
Published
## A library to build multi-page application based on Vue.js 2.x.x
Downloads
123
Maintainers
Readme
Ether Vway
vway.js is a solution for multipage website application with front back separation(not only SPA) based on Vue.js. It provides all you need for build a website including front-end router, auto layout, ajax, utils and so on.
Different from vue-router build for SPA, vway.js router use vue instance file as route rule. It means you neither need to combine your whole website using webpack, nor always concern about a hundreds-lines routes file.
To check out live examples and docs, visit FE Doc - vway.js.
Install
npm install ether-vway
Usage
var vway = require("ether-vway");
Vue.use(vway);
Or
<!-- in html -->
<script src="http://xxr-vway.dev.ethercap.com/dist/vway.min.js"></script>
// in js
Vue.use(vway);
Configuration
Vue.use(vway, [config]);
Or
vway.config(configA);
vway.config(configB);
Vue.use(vway);