spa-boost
v1.0.1
Published
页面启动类,负责根据地址路由、页面模块加载等通用操作
Downloads
4
Readme
spa-boost
安装
npm i spa-boost --save
指定页面基础layout及路由
const SPABooster = require('spa-boost');
var booster = new SPABooster();
booster.route({
'/': 'start.js',
'/user/:user': 'user.js'
});
booster.run();