webpackJsonp([7],{NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("7+uW"),o=(n("Qbok"),n("zL8q")),u=n.n(o),a=(n("tvR6"),{render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("keep-alive",[t("transition",{attrs:{name:"router-fade",mode:"out-in"}},[this.$route.meta.keepAlive?t("router-view"):this._e()],1)],1),this._v(" "),t("transition",{attrs:{name:"router-fade",mode:"out-in"}},[this.$route.meta.keepAlive?this._e():t("router-view")],1)],1)},staticRenderFns:[]});var r=n("VU/8")({name:"App"},a,!1,function(e){n("p2vH")},null,null).exports,l=n("//Fk"),m=n.n(l),c=n("/ocq");i.default.use(c.a);var s=[{path:"",component:function(){return Promise.all([n.e(0),n.e(1)]).then(n.bind(null,"FP3a"))},meta:{title:"博客首页"}},{path:"/detail/:id",name:"Detail",component:function(){return Promise.all([n.e(0),n.e(2)]).then(n.bind(null,"WDDs"))},meta:{title:"文章详情页",keepAlive:!0}},{path:"/login",component:function(){return n.e(3).then(n.bind(null,"QlWu"))},meta:{title:"登录"}},{path:"/register",component:function(){return n.e(5).then(n.bind(null,"8zp9"))},meta:{title:"注册"}},{path:"/demo",component:function(){return Promise.all([n.e(0),n.e(4)]).then(n.bind(null,"/1AV"))},meta:{title:"效果演示页",keepAlive:!0}}],d=new c.a({routes:s,scrollBehavior:function(e,t,n){return n&&e.meta.keepAlive?n:new m.a(function(e){setTimeout(function(){e({x:0,y:0})},0)})}});d.beforeEach(function(e,t,n){window.document.title=e.meta.title,0===e.matched.length?t.name?n({name:t.name}):n("/"):n()});var f=d,p=n("NYxO"),v={actions:{asyncAdd:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{num:1}).num;setTimeout(function(){e.commit("add",{num:t})},1e3)},asyncDiff:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{num:1}).num;setTimeout(function(){e.commit("diff",{num:t})},1e3)}},mutations:{add:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{num:1}).num;e.count+=t},diff:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{num:1}).num;e.count-=t}},state:{count:0}};i.default.use(p.a);var h=new p.a.Store(v);i.default.config.productionTip=!1,i.default.use(u.a),new i.default({el:"#app",router:f,store:h,components:{App:r},template:"<App/>"})},Qbok:function(e,t){},p2vH:function(e,t){},tvR6:function(e,t){}},["NHnr"]);
//# sourceMappingURL=app.2fb34aa4ce1edba4a0b5.js.map