vue-pancake-icons 6.0.0 → 6.0.2

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
@@ -1,9 +1,33 @@
1
1
  # Install
2
2
  npm install vue-pancake-icons
3
3
 
4
- # Use
4
+ # Use 1
5
+ _in component
6
+ ```html
7
+ <script>
8
+ import { ArrowUp } from "vue-pancake-icons"
9
+ export default {
10
+ components: { ArrowUp }
11
+ }
12
+ </script>
13
+ <template>
14
+ <ArrowUp/>
15
+ </template>
16
+ ```
17
+
18
+ # Use 2
19
+ _multi component in app.js
20
+ ```html
21
+ import { ArrowUp } from "vue-pancake-icons"
22
+ app.use(ArrowUp)
23
+ ```
24
+
25
+ # Use 3
26
+ _Note: this usage is not recommended as it cannot be tree-shaken
27
+ _all component global in app.js
28
+ ```html
5
29
  import VuePancakeIcons from 'vue-pancake-icons'
6
30
  app.use(VuePancakeIcons)
7
-
31
+ ```
8
32
  # Demo
9
33
  Click [here](https://tieuhoan.dev)