UNPKG

hanzi-mobile-package

Version:

Hanzi mobile Package

1 lines 1.04 kB
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["Hanzi-vue-package"]=e():t["Hanzi-vue-package"]=e()}(this,function(){return function(t){function e(a){if(o[a])return o[a].exports;var n=o[a]={exports:{},id:a,loaded:!1};return t[a].call(n.exports,n,n.exports,e),n.loaded=!0,n.exports}var o={};return e.m=t,e.c=o,e.p="",e(0)}([function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:{baseRoute:{},dynamicRoute:{},systemRoute:{},exampleRoute:{}},routes:function t(){var e,t=[];for(var o in this.data.systemRoute)e={path:"/"+o,component:this.data.systemRoute[o]},t.push(e);for(var o in this.data.dynamicRoute)e={path:"/"+o,component:this.data.dynamicRoute[o]},t.push(e);for(var o in this.data.baseRoute){var a;a="/"==o?"":o,e={path:"/"+a,component:this.data.baseRoute[o]},t.push(e)}for(var o in this.data.exampleRoute)e={path:"/"+o,component:this.data.exampleRoute[o]},t.push(e);return t}}}])});