yxuse 1.0.15 → 1.0.17
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/README.md +6 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,11 +8,12 @@ npm install yxuse@latest
|
|
|
8
8
|
//pnpm
|
|
9
9
|
pnpm install yxuse@latest
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
//最新淘宝镜像地址为 https://registry.npmmirror.com
|
|
12
12
|
|
|
13
|
-
npm
|
|
13
|
+
//速度慢或者版本更新不及时 请使用npm源镜像下载
|
|
14
|
+
npm set registry https://registry.npmjs.org
|
|
14
15
|
//或
|
|
15
|
-
pnpm set registry https://registry.
|
|
16
|
+
pnpm set registry https://registry.npmjs.org
|
|
16
17
|
|
|
17
18
|
```
|
|
18
19
|
|
|
@@ -21,7 +22,9 @@ pnpm set registry https://registry.npmmirror.com
|
|
|
21
22
|
- 使用方式
|
|
22
23
|
|
|
23
24
|
```javascript
|
|
25
|
+
//在项目入口文件 main.js/main.ts中
|
|
24
26
|
import { install } from "yxuse/theme";
|
|
27
|
+
install();
|
|
25
28
|
```
|
|
26
29
|
|
|
27
30
|
- 内置方法
|