Skip to content
This repository has been archived by the owner on Apr 1, 2019. It is now read-only.

Commit

Permalink
update logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Walker Leite committed Sep 12, 2017
1 parent cb59ffb commit 8d70701
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions meta.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,16 @@ module.exports = {
}
},
"complete": function(data, {logger}) {
logger.log("To get started:");
if (data.inPlace) logger.log("\n\ncd " + data.destDirName);
logger.log("1. Install dependencies npm install");
logger.log("2. Write your component in src/Component.vue");
logger.log("3. Write a demo in docs docs/Usage.md");
logger.log("4. Access demo and docs with npm run serve");
logger.log("5. Build with npm run build");
logger.log("6. Build docs with npm run build:doc");
let msg = "To get started:";
if (data.inPlace) msg.concat("\n\ncd " + data.destDirName);
msg.concat("\n\n1. Install dependencies npm install");
msg.concat("\n2. Write your component in src/Component.vue");
msg.concat("\n3. Write a demo in docs docs/Usage.md");
msg.concat("\n4. Access demo and docs with npm run serve");
msg.concat("\n5. Build with npm run build");
msg.concat("\n6. Build docs with npm run build:doc");
logger.log(msg);
console.log(data, this);
const name = require('./package.json').name;

// Rename to be compatible with styleguide configuration
Expand Down

0 comments on commit 8d70701

Please sign in to comment.