add layout component with header, content, sider and footer

This commit is contained in:
zhigang.li 2017-12-18 18:25:16 +08:00
parent e6508e277f
commit a2eb028782
17 changed files with 509 additions and 4 deletions

View file

@ -17,6 +17,10 @@ Vue.config.debug = true;
// 路由配置
const router = new VueRouter({
routes: [
{
path: '/layout',
component: require('./routers/layout.vue')
},
{
path: '/affix',
component: require('./routers/affix.vue')