This repository was archived by the owner on Apr 1, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -20,14 +20,16 @@ module.exports = {
20
20
}
21
21
} ,
22
22
"complete" : function ( data , { logger} ) {
23
- logger . log ( "To get started:" ) ;
24
- if ( data . inPlace ) logger . log ( "\n\ncd " + data . destDirName ) ;
25
- logger . log ( "1. Install dependencies npm install" ) ;
26
- logger . log ( "2. Write your component in src/Component.vue" ) ;
27
- logger . log ( "3. Write a demo in docs docs/Usage.md" ) ;
28
- logger . log ( "4. Access demo and docs with npm run serve" ) ;
29
- logger . log ( "5. Build with npm run build" ) ;
30
- logger . log ( "6. Build docs with npm run build:doc" ) ;
23
+ let msg = "To get started:" ;
24
+ if ( data . inPlace ) msg . concat ( "\n\ncd " + data . destDirName ) ;
25
+ msg . concat ( "\n\n1. Install dependencies npm install" ) ;
26
+ msg . concat ( "\n2. Write your component in src/Component.vue" ) ;
27
+ msg . concat ( "\n3. Write a demo in docs docs/Usage.md" ) ;
28
+ msg . concat ( "\n4. Access demo and docs with npm run serve" ) ;
29
+ msg . concat ( "\n5. Build with npm run build" ) ;
30
+ msg . concat ( "\n6. Build docs with npm run build:doc" ) ;
31
+ logger . log ( msg ) ;
32
+ console . log ( data , this ) ;
31
33
const name = require ( './package.json' ) . name ;
32
34
33
35
// Rename to be compatible with styleguide configuration
You can’t perform that action at this time.
0 commit comments