Skip to content

Commit b82b942

Browse files
authored
Update index.js
1 parent 57c553b commit b82b942

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/generators/route/index.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class Generator extends BaseGenerator {
77
var prompts = [{
88
name: 'moduleName',
99
message: 'What module name would you like to use?',
10-
default: `${this.scriptAppName}.${this.name}`,
10+
default: `${this.name}Module`,
1111
when: () => this.config.get('modulePrompt')
1212
}, {
1313
name: 'dir',
@@ -33,11 +33,11 @@ class Generator extends BaseGenerator {
3333
}
3434

3535
end() {
36-
this.log(`
37-
In the parent of this component, you should now import this component and add it as a dependency:
38-
import ${this.classedName}Component from './${this.name}/${this.name}.component';
39-
...
40-
export angular.module('myParentModule', [${this.classedName}Component]);`);
36+
// this.log(`
37+
// In the parent of this component, you should now import this component and add it as a dependency:
38+
// import ${this.classedName}Component from './${this.name}/${this.name}.component';
39+
// ...
40+
// export angular.module('myParentModule', [${this.classedName}Component]);`);
4141
}
4242
}
4343

0 commit comments

Comments
 (0)