parent
879940b8b3
commit
46a90a6950
|
@ -0,0 +1,14 @@
|
|||
# create-vue-live
|
||||
一个快速创建vue-live项目的小工具
|
||||
|
||||
|
||||
### 使用方式
|
||||
|
||||
```bash
|
||||
npm create vue-live
|
||||
|
||||
# 或者
|
||||
npm create vue-live@latest
|
||||
```
|
||||
|
||||
注意: `@latest`可以确保你初始化的`vue-live`配置是最新的。
|
6
index.js
6
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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue