kn-cli 1.0.74 → 1.0.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/readme.md +8 -7
- package/src/.DS_Store +0 -0
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
项目脚手架
|
|
3
3
|
|
|
4
4
|
# 快速开始
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
0. node使用16.18.0
|
|
6
|
+
1. 安装: npm i kn-cli -g
|
|
7
|
+
2. 创建项目: kn-cli --create
|
|
8
|
+
3. 调试项目: kn-cli --dev
|
|
9
|
+
* 当`export dev_mode=watch`时,将不会独立启动http服务,而是直接将编译后资源输出到文件夹内并监听源代码的变化后重新编译
|
|
10
|
+
4. 编译项目: kn-cli --build
|
|
11
|
+
5. 当项目中需要添加第三方npm包时,务必使用--save参数`npm i 包名 --save`
|
|
12
|
+
6. 包模块分析: kn-cli --report
|
|
12
13
|
|
|
13
14
|
|
|
14
15
|
> 项目创建后,记得执行sh init.sh 以激活git分支提交日志
|
package/src/.DS_Store
ADDED
|
Binary file
|