Browse Source

fix

pull/9/head
tjz 7 years ago
parent
commit
7f083cb99c
  1. 2
      examples/routes.js

2
examples/routes.js

@ -1,6 +1,6 @@
const AsyncComp = () => {
const pathnameArr = window.location.pathname.split('/')
const com = pathnameArr[1] || 'button'
const com = pathnameArr[1] || 'button' // eslint-disable-line
const demo = pathnameArr[2] || 'index'
return {
component: import(`../components/card/demo/${demo}.vue`),

Loading…
Cancel
Save