diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..3dc9b3f --- /dev/null +++ b/Readme.md @@ -0,0 +1,14 @@ +# create-vue-live +一个快速创建vue-live项目的小工具 + + +### 使用方式 + +```bash +npm create vue-live + +# 或者 +npm create vue-live@latest +``` + +注意: `@latest`可以确保你初始化的`vue-live`配置是最新的。 \ No newline at end of file diff --git a/index.js b/index.js index 2fa3bc5..06a9780 100755 --- a/index.js +++ b/index.js @@ -5,7 +5,7 @@ * @date 2022/10/10 15:17:36 */ -import { red, cyan } from 'kolorist' +import { red, cyan, blue } from 'kolorist' import prompts from 'prompts' import fs from 'iofs' import { resolve, join, dirname } from 'path' @@ -147,8 +147,8 @@ function printHelp() { console.log('[oooooooooo]', '100%') console.log(cyan('初始化完成, 可依次执行以下命令启动项目: ')) - console.log('npm i') - console.log('npm start') + console.log(blue('npm i')) + console.log(blue('npm start')) break }