vue antd admin init

This commit is contained in:
chenghx
2018-07-20 11:00:43 +08:00
parent f85c8c1f40
commit 354ba9a734
46 changed files with 25110 additions and 0 deletions

26
src/router/index.js Normal file
View File

@@ -0,0 +1,26 @@
import Vue from 'vue'
import Router from 'vue-router'
import Dashboard from '@/components/dashboard/Dashboard'
import MiniChart from '@/components/chart/MiniChart'
Vue.use(Router)
export default new Router({
routes: [
{
path: '/',
name: 'hello',
component: Dashboard
},
{
path: '/dashboard',
name: 'dashboard',
component: Dashboard
},
{
path: '/chart',
name: 'chart',
component: MiniChart
}
]
})