delete examples
parent
a8d1a90bf5
commit
83e91585ea
|
@ -1,13 +0,0 @@
|
||||||
import Demo from './components/demo.vue'
|
|
||||||
const AsyncComp = () => {
|
|
||||||
const hashs = window.location.hash.split('/')
|
|
||||||
const d = hashs[hashs.length - 1]
|
|
||||||
return {
|
|
||||||
component: import(`../components/transfer/demo/${d}`),
|
|
||||||
}
|
|
||||||
}
|
|
||||||
export default [
|
|
||||||
{ path: '/:lang?/components/:name/:demo?/:other?', component: Demo },
|
|
||||||
{ path: '/:lang?/test/:name/:demo?', component: AsyncComp },
|
|
||||||
{ path: '/*', redirect: '/us/components/button' },
|
|
||||||
]
|
|
Loading…
Reference in New Issue