-
-
Notifications
You must be signed in to change notification settings - Fork 626
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(添加tsconfig.json到cli的依赖列表): tsconfig.json
affects: @varlet/cli, @varlet/ui
- Loading branch information
Showing
3 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# varlet cli | ||
varlet cli是一个基于vue3的组件库构建命令行,可以快速搭建一个基于vue单文件组件的UI组件库 | ||
|
||
## 快速上手 | ||
``` | ||
npm安装:npm i typescript [email protected] [email protected] @varlet/cli -D | ||
yarn安装:yarn add typescript [email protected] [email protected] @varlet/cli -D | ||
``` | ||
|
||
``` | ||
添加如下代码到package.json | ||
"scripts": { | ||
"dev": "varlet-cli dev", | ||
"build": "varlet-cli build", | ||
"compile": "varlet-cli compile", | ||
"compile:watch": "varlet-cli compile --watch", | ||
"create": "varlet-cli create", | ||
"jest": "varlet-cli jest" | ||
}, | ||
"peerDependencies": { | ||
"vue": "3.0.2" | ||
} | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters