增加readme

master 0.0.8
yutent 2022-10-21 11:59:49 +08:00
parent 879940b8b3
commit 46a90a6950
2 changed files with 17 additions and 3 deletions

14
Readme.md Normal file
View File

@ -0,0 +1,14 @@
# create-vue-live
一个快速创建vue-live项目的小工具
### 使用方式
```bash
npm create vue-live
# 或者
npm create vue-live@latest
```
注意: `@latest`可以确保你初始化的`vue-live`配置是最新的。

View File

@ -5,7 +5,7 @@
* @date 2022/10/10 15:17:36 * @date 2022/10/10 15:17:36
*/ */
import { red, cyan } from 'kolorist' import { red, cyan, blue } from 'kolorist'
import prompts from 'prompts' import prompts from 'prompts'
import fs from 'iofs' import fs from 'iofs'
import { resolve, join, dirname } from 'path' import { resolve, join, dirname } from 'path'
@ -147,8 +147,8 @@ function printHelp() {
console.log('[oooooooooo]', '100%') console.log('[oooooooooo]', '100%')
console.log(cyan('初始化完成, 可依次执行以下命令启动项目: ')) console.log(cyan('初始化完成, 可依次执行以下命令启动项目: '))
console.log('npm i') console.log(blue('npm i'))
console.log('npm start') console.log(blue('npm start'))
break break
} }