UNPKG

react-app-shell

Version:

react打包脚本和example, 这里的版本请忽略

18 lines (14 loc) 397 B
import asyncComponent from './async-component'; // 魔小兔H5二维码页路由设置 // import BunnyTwoCode from '../views/bunny'; const BunnyCode = asyncComponent(() => import(/* webpackChunkName:"bunny-code" */ '../views/bunny') ); const bunnyRouteConfig = [ { path: '/bunnyTwoCode/:type', key: '/bunnyTwoCode/', component: BunnyCode } ]; export default bunnyRouteConfig;