doc: add modal debug page

This commit is contained in:
07akioni 2019-07-26 16:33:01 +08:00
parent 27434bb59a
commit 42d0d575c6
2 changed files with 7 additions and 1 deletions

View File

@ -147,6 +147,10 @@ export default {
{
name: 'RouterDebug',
path: '/n-router-debug'
},
{
name: 'ModalDebug',
path: '/n-modal-debug'
}
]
}

View File

@ -37,6 +37,7 @@ import demo from './demo'
import popoverDebug from './debugComponents/popoverDebug'
import routerDebug from './debugComponents/routerDebug'
import modalDebug from './debugComponents/modalDebug'
Vue.use(NaiveUI)
Vue.use(VueRouter)
@ -83,7 +84,8 @@ const routes = [
{ path: '/n-radio', component: radioDemo },
{ path: '/n-form', component: formDemo },
{ path: '/n-time-picker', component: timePickerDemo },
{ path: '/n-router-debug', component: routerDebug }
{ path: '/n-router-debug', component: routerDebug },
{ path: '/n-modal-debug', component: modalDebug }
]
},
{