Skip to content

Commit b03291f

Browse files
committed
Error Fix example -2
1 parent f2f3fc3 commit b03291f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/universal/core/route/routeConstants.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
import { generateComponents } from '../../utils/helper';
2-
3-
const componentConfig = require('__V_COMPONENTS__');
4-
5-
const components = generateComponents(componentConfig.default);
1+
import components from './components';
62

73
const ROUTE_PATHS = {};
84
const ROUTE_CONFIGS = {};

0 commit comments

Comments
 (0)