setupin 2.5.1 → 2.6.0

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 CHANGED
@@ -2,7 +2,7 @@
2
2
  <b>English</b> | <a href="./README.zh-CN.md">简体中文</a>
3
3
  </p>
4
4
 
5
- <p align="center"><img src="./doc/logo.svg"></p>
5
+ <p align="center"><img src="./public/logo.svg"></p>
6
6
 
7
7
  <p align="center">
8
8
  <a href="https://npmjs.com/package/setupin"><img src="https://img.shields.io/npm/v/setupin?color=orange"></a>
@@ -23,19 +23,19 @@
23
23
  ## 🤯 setupin.html _vs_ setup.vue
24
24
 
25
25
  <p align="center">
26
- <img src="./doc/setup.vue.svg" width="49%">
27
- <img src="./doc/setupin.html.svg" width="49%">
26
+ <img src="./public/setup.vue.svg" width="49%">
27
+ <img src="./public/setupin.html.svg" width="49%">
28
28
  </p>
29
29
 
30
30
  How about that? Aren't they similar
31
31
 
32
32
  ## 🤓 Characteristics
33
33
 
34
- [x] auto on-demand import
35
- [x] supports esm syntax
36
- [x] [top-level await](https://vuejs.org/api/sfc-script-setup.html#top-level-await)
37
- [ ] [sfc css features](https://vuejs.org/api/sfc-css-features.html)
38
- [ ] vue3 macro functions
34
+ - [x] auto on-demand import
35
+ - [x] supports esm syntax
36
+ - [x] [top-level await](https://vuejs.org/api/sfc-script-setup.html#top-level-await)
37
+ - [ ] [sfc css features](https://vuejs.org/api/sfc-css-features.html)
38
+ - [ ] vue3 macro functions
39
39
 
40
40
  ## 😝 Playground
41
41
 
@@ -45,17 +45,13 @@ try it on
45
45
 
46
46
  ## 🥰 Usage
47
47
 
48
- **The default is the dev version**
49
48
  ```html
49
+ <!-- The default is the dev version -->
50
50
  <script src="https://unpkg.com/setupin"></script>
51
- ```
52
51
 
53
- **dev**
54
- ```html
52
+ <!-- dev -->
55
53
  <script src="https://unpkg.com/setupin/dist/main.js"></script>
56
- ```
57
54
 
58
- **prod**
59
- ```html
55
+ <!-- prod -->
60
56
  <script src="https://unpkg.com/setupin/dist/main.prod.js"></script>
61
57
  ```
package/README.zh-CN.md CHANGED
@@ -2,7 +2,7 @@
2
2
  <a href="./README.md">English</a> | <b>简体中文</b>
3
3
  </p>
4
4
 
5
- <p align="center"><img src="./doc/logo.svg"></p>
5
+ <p align="center"><img src="./public/logo.svg"></p>
6
6
 
7
7
  <p align="center">
8
8
  <a href="https://npmjs.com/package/setupin"><img src="https://img.shields.io/npm/v/setupin?color=orange"></a>
@@ -23,19 +23,19 @@
23
23
  ## 🤯 setupin.html _vs_ setup.vue
24
24
 
25
25
  <p align="center">
26
- <img src="./doc/setup.vue.svg" width="49%">
27
- <img src="./doc/setupin.html.svg" width="49%">
26
+ <img src="./public/setup.vue.svg" width="49%">
27
+ <img src="./public/setupin.html.svg" width="49%">
28
28
  </p>
29
29
 
30
30
  怎么样, 它们很像吧。
31
31
 
32
32
  ## 🤓 特性
33
33
 
34
- [x] 自动按需导入
35
- [x] 支持 esm 语法
36
- [x] [顶层 await](https://cn.vuejs.org/api/sfc-script-setup.html#top-level-await)
37
- [ ] [CSS 功能](https://cn.vuejs.org/api/sfc-css-features)
38
- [ ] vue3 宏函数
34
+ - [x] 自动按需导入
35
+ - [x] 支持 esm 语法
36
+ - [x] [顶层 await](https://cn.vuejs.org/api/sfc-script-setup.html#top-level-await)
37
+ - [ ] [CSS 功能](https://cn.vuejs.org/api/sfc-css-features)
38
+ - [ ] vue3 宏函数
39
39
 
40
40
  ## 😝 演练场
41
41
 
@@ -44,17 +44,13 @@
44
44
 
45
45
  ## 🥰 CDN
46
46
 
47
- **默认为dev版本**
48
47
  ```html
48
+ <!-- 默认是dev版本 -->
49
49
  <script src="https://unpkg.com/setupin"></script>
50
- ```
51
50
 
52
- **dev**
53
- ```html
51
+ <!-- dev -->
54
52
  <script src="https://unpkg.com/setupin/dist/main.js"></script>
55
- ```
56
53
 
57
- **prod**
58
- ```html
54
+ <!-- prod -->
59
55
  <script src="https://unpkg.com/setupin/dist/main.prod.js"></script>
60
56
  ```