@58fe/p5
Version:
pc端vue组件
142 lines (139 loc) • 2.56 kB
JavaScript
import Vue from 'vue';
import Router from 'vue-router';
import install from './../doc/install.md';
import dialog from './../doc/dialog.md';
import button from './../doc/button.md';
import loading from './../doc/loading.md';
import select from './../doc/select.md';
import message from './../doc/message.md';
import pullup from './../doc/pullup.md';
import pswitch from './../doc/pswitch.md';
import upload from './../doc/upload.md';
import carousel from './../doc/carousel.md';
import tooltip from './../doc/tooltip.md';
import toast from './../doc/toast.md';
import ring from './../doc/ring.md';
import menu from './../doc/menu.md';
import table from './../doc/table.md';
import checkbox from './../doc/checkbox.md';
import step from './../doc/step.md';
import input from './../doc/input.md';
import form from './../doc/form.md';
import drawer from './../doc/drawer.md';
import collapse from './../doc/collapse.md';
import suggection from './../views/suggection/Index.vue';
Vue.use(Router);
export default new Router({
routes: [
{
path: '/',
name: 'install',
component: install
},
{
path: '/button',
name: 'button',
component: button
},
{
path: '/loading',
name: 'loading',
component: loading
},
{
path: '/dialog',
name: 'dialog',
component: dialog
},
{
path: '/select',
name: 'select',
component: select
},
{
path: '/message',
name: 'message',
component: message
},
{
path: '/pullup',
name: 'pullup',
component: pullup
},
{
path: '/pswitch',
name: 'pswitch',
component: pswitch
},
{
path: '/upload',
name: 'upload',
component: upload
},
{
path: '/carousel',
name: 'carousel',
component: carousel
},
{
path: '/tooltip',
name: 'tooltip',
component: tooltip
},
{
path: '/toast',
name: 'toast',
component: toast
},
{
path: '/ring',
name: 'ring',
component: ring
},
{
path: '/menu',
name: 'menu',
component: menu
},
{
path: '/table',
name: 'table',
component: table
},
{
path: '/checkbox',
name: 'checkbox',
component: checkbox
},
{
path: '/step',
name: 'step',
component: step
},
{
path: '/input',
name: 'input',
component: input
},
{
path: '/form',
name: 'form',
component: form
},
{
path: '/drawer',
name: 'drawer',
component: drawer
},
{
path: '/collapse',
name: 'collapse',
component: collapse
},
{
path: '/suggection',
name: 'suggection',
component: suggection
}
]
});