fix should be getChildRoutes
fix fromNodeCallback returns array of values from callback fix remove require.ensure - needs to be tested
This commit is contained in:
11
common/app/routes/Mobile/index.js
Normal file
11
common/app/routes/Mobile/index.js
Normal file
@@ -0,0 +1,11 @@
|
||||
import Mobile from './components/Mobile.jsx';
|
||||
|
||||
export default {
|
||||
path: 'mobile',
|
||||
|
||||
getComponents(cb) {
|
||||
setTimeout(() => {
|
||||
cb(null, Mobile);
|
||||
}, 0);
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user