mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-02-06 23:18:28 -06:00
fix(create): Commands added by plugin (through preset) won't have description in README' (#1910)
This commit is contained in:
committed by
Evan You
parent
a0012c4f82
commit
e9d01ebde4
@@ -9,6 +9,7 @@ const descriptions = {
|
||||
|
||||
function printScripts (pkg, packageManager) {
|
||||
return Object.keys(pkg.scripts).map(key => {
|
||||
if (!descriptions[key]) return ''
|
||||
return [
|
||||
`\n### ${descriptions[key]}`,
|
||||
'```',
|
||||
|
||||
Reference in New Issue
Block a user