vue-pancake-icons 6.0.1 → 6.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/README.md +10 -4
  2. package/package.json +1 -2
package/README.md CHANGED
@@ -2,7 +2,8 @@
2
2
  npm install vue-pancake-icons
3
3
 
4
4
  # Use 1
5
- in component
5
+ _in component
6
+ ```html
6
7
  <script>
7
8
  import { ArrowUp } from "vue-pancake-icons"
8
9
  export default {
@@ -12,16 +13,21 @@ export default {
12
13
  <template>
13
14
  <ArrowUp/>
14
15
  </template>
16
+ ```
15
17
 
16
18
  # Use 2
17
- multi component in app.js
19
+ _multi component in app.js
20
+ ```html
18
21
  import { ArrowUp } from "vue-pancake-icons"
19
22
  app.use(ArrowUp)
23
+ ```
20
24
 
21
25
  # Use 3
22
- all component global in app.js
26
+ _Note: this usage is not recommended as it cannot be tree-shaken
27
+ _all component global in app.js
28
+ ```html
23
29
  import VuePancakeIcons from 'vue-pancake-icons'
24
30
  app.use(VuePancakeIcons)
25
-
31
+ ```
26
32
  # Demo
27
33
  Click [here](https://tieuhoan.dev)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vue-pancake-icons",
3
3
  "private": false,
4
- "version": "6.0.1",
4
+ "version": "6.0.2",
5
5
  "files": [
6
6
  "dist"
7
7
  ],
@@ -18,7 +18,6 @@
18
18
  "dev": "vite",
19
19
  "compile": "node build.js",
20
20
  "build": "vite build",
21
- "publish": "npm publish",
22
21
  "preview": "vite preview --host"
23
22
  },
24
23
  "dependencies": {