We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28ce6c4 commit 174e46cCopy full SHA for 174e46c
src/generators/route/index.js
@@ -37,6 +37,15 @@ class Generator extends Base {
37
this.htmlUrl = relativeUrl(basePath, path.join(this.dir, `${this.name}.${this.templateExt}`));
38
copyTemplates(this, 'route');
39
}
40
+
41
+ end() {
42
+ this.log(`
43
+In the parent of this component, you should now import this component and add it as a dependency:
44
45
+ import ${this.classedName}Component from './${this.name}/${this.name}.component';
46
+ ...
47
+ export angular.module('myParentModule', [${this.classedName}Component]);`);
48
+ }
49
50
51
module.exports = Generator;
0 commit comments