Skip to content

Commit 18c73a0

Browse files
author
Irfan Maulana
committed
migrate to poi
1 parent fa922b6 commit 18c73a0

28 files changed

+17163
-3353
lines changed

.babelrc

Lines changed: 32 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,37 @@
11
{
22
"presets": [
3-
["env", {
4-
"modules": false,
5-
"targets": {
6-
"browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
3+
[
4+
"@babel/preset-env",
5+
{
6+
"modules": false
77
}
8-
}]
8+
]
9+
],
10+
"env": {
11+
"test": {
12+
"presets": [
13+
[
14+
"@babel/preset-env",
15+
{
16+
"targets": {
17+
"node": "current"
18+
}
19+
}
20+
]
21+
]
22+
}
23+
},
24+
"plugins": [
25+
[
26+
"@babel/plugin-transform-runtime",
27+
{
28+
"corejs": false,
29+
"helpers": true,
30+
"regenerator": true,
31+
"useESModules": true
32+
}
33+
],
34+
"@babel/plugin-syntax-dynamic-import",
35+
"@babel/plugin-syntax-jsx"
936
]
1037
}

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
path = ionicons
33
url = git@github.com:ionic-team/ionicons.git
44
# url = https://github.com:ionic-team/ionicons.git
5-
branch = 4.0
5+
branch = 4.1

README.md

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,9 @@
77
Design icons sourced from the
88
[Ionicons](https://github.com/ionic-team/ionicons) project.
99

10-
> Warning!!! Vue-Ionicons v2.0.0 we will move to ionicons branch [4.0](https://github.com/ionic-team/ionicons/tree/4.0) for better icons naming
11-
1210
## 🎉 Demo
1311

14-
https://mazipan.github.io/vue-ionicons
12+
[https://mazipan.github.io/vue-ionicons](https://mazipan.github.io/vue-ionicons)
1513

1614
## 🚀 Getting started
1715

@@ -62,15 +60,32 @@ https://mazipan.github.io/vue-ionicons
6260
<AlertIcon />
6361
```
6462

65-
## 🔥 API and Props
63+
## Import some icon sets
64+
65+
Sometimes we don't want import one by one, so from v2.3.0 we can include this groups icon: `ios`, `md`, `logo`.
66+
67+
```javascript
68+
import AllIosIcon from 'vue-ionicons/dist/ionicons-ios.js'
69+
70+
Vue.use(AllIosIcon)
6671
67-
| Name | Type | Default | Description |
68-
|-------------------- |----------------------|-------------|-------------------------------------- |
69-
| w | String | 14px | Width of SVG |
70-
| h | String | 14px | Height of SVG |
71-
| rootClass | String | `empty` | Class for wrapper SVG |
72-
| animate | String | `empty` | Available: `rotate`, `shake`, `beat` |
72+
/*
73+
-- File available --
74+
Material: ionicons-md.js
75+
Logo: ionicons-logo.js
76+
All: ionicons.js
77+
*/
78+
79+
```
80+
81+
## 🔥 API and Props
7382
83+
| Name | Type | Default | Description |
84+
|--------------------|----------------------|-------------|--------------------------------------|
85+
| w | String | 14px | Width of SVG |
86+
| h | String | 14px | Height of SVG |
87+
| rootClass | String | `empty` | Class for wrapper SVG |
88+
| animate | String | `empty` | Available: `rotate`, `shake`, `beat` |
7489
7590
## 🏃 Development
7691

0 commit comments

Comments
 (0)