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 +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ module.exports = {
22
22
} ,
23
23
"complete" : function ( data , { logger} ) {
24
24
// Rename to be compatible with styleguide configuration
25
- const cmpDir = path . resolve ( data . destDirName , 'src/Component' ) ;
25
+ const cmpDir = data . inPlace ? 'src/Component' : path . resolve ( data . destDirName , 'src/Component' ) ;
26
26
fs . renameSync (
27
27
path . resolve ( cmpDir , 'Component.vue' ) ,
28
28
path . resolve ( cmpDir , data . name + '.vue' )
@@ -38,11 +38,11 @@ module.exports = {
38
38
39
39
logger . log ( "To get started:" ) ;
40
40
if ( ! data . inPlace ) logger . log ( "cd " + data . destDirName ) ;
41
- logger . log ( "1. Install dependencies npm install" ) ;
41
+ logger . log ( "1. Install dependencies: npm install" ) ;
42
42
logger . log ( "2. Write your component in src/Component.vue" ) ;
43
43
logger . log ( "3. Write a demo in docs docs/Usage.md" ) ;
44
44
logger . log ( "4. Access demo and docs with npm run serve" ) ;
45
- logger . log ( "5. Build with npm run build" ) ;
46
- logger . log ( "6. Build docs with npm run build:doc" ) ;
45
+ logger . log ( "5. Build with: npm run build" ) ;
46
+ logger . log ( "6. Build docs with: npm run build:doc" ) ;
47
47
}
48
48
} ;
You can’t perform that action at this time.
0 commit comments