Skip to content

Commit 8fe7e76

Browse files
committed
chore: temporarily disable route generation
1 parent 9a7bfe0 commit 8fe7e76

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

addon/ng2/blueprints/route/index.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,12 @@ module.exports = {
110110
],
111111

112112
beforeInstall: function(options) {
113-
options.route = true;
114-
if (options.lazy) {
115-
options.isLazyRoute = true;
116-
}
117-
return Blueprint.load(path.join(__dirname, '..', 'component')).install(options);
113+
throw 'Due to changes in the router, route generation has been temporarily disabled';
114+
// options.route = true;
115+
// if (options.lazy) {
116+
// options.isLazyRoute = true;
117+
// }
118+
// return Blueprint.load(path.join(__dirname, '..', 'component')).install(options);
118119
},
119120

120121
afterInstall: function (options) {

0 commit comments

Comments
 (0)