From 83e91585ea23fdd57d07699448a372ef1a4f3785 Mon Sep 17 00:00:00 2001 From: tjz <415800467@qq.com> Date: Sat, 7 Apr 2018 19:11:10 +0800 Subject: [PATCH] delete examples --- examples/routes.js | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 examples/routes.js diff --git a/examples/routes.js b/examples/routes.js deleted file mode 100644 index defbe8463..000000000 --- a/examples/routes.js +++ /dev/null @@ -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' }, -]