Skip to content

Commit 72dacdd

Browse files
committed
完善使用文档
1 parent 1846620 commit 72dacdd

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,15 @@
44

55
使用`Node.js`+`Webpack`模块化开发油猴脚本的方案,用于提升油猴开发体验,一个`JavaScript`文件几千行来回改本人真的有点顶不住......
66

7-
# 二、如何使用
7+
# 二、优势
88

9-
在当前仓库选择“Use this template” --> “Create a new repository”,创建一个新的仓库:
9+
- 模块化开发油猴项目,开发体验与效率都能够得到大幅提升,再也不需要头疼怎么在单个`JavaScript`文件中组织代码了
10+
- 开发时热加载提高开发效率,采用推荐的开发模式,油猴中指向打包结果文件地址,`JavaScript`有代码自动加载,修改测试更高效
11+
- 发布时打包后的为高可读性的单`JavaScript`文件,符合油猴商店的上架政策,打包出来就能上架不再需要什么手工处理的工作
12+
13+
# 三、快速开始
14+
15+
在当前仓库选择“`Use this template`” --> “`Create a new repository`”,创建一个新的仓库:
1016

1117
![image-20230816233501101](README.assets/image-20230816233501101.png)
1218

0 commit comments

Comments
 (0)