Skip to content

Commit ba671c2

Browse files
committed
Upgrade to bootstrap-icons v1.2.2
1 parent d256598 commit ba671c2

File tree

6 files changed

+1683
-1525
lines changed

6 files changed

+1683
-1525
lines changed

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<img src="https://img.shields.io/npm/v/bootstrap-icons-vue?color=blue" alt="NPM">
77
</a>
88
<a href="https://icons.getbootstrap.com/">
9-
<img src="https://img.shields.io/badge/Bootstrap%20Icons-1.1.0-blueviolet" alt="Bootstrap Icons">
9+
<img src="https://img.shields.io/badge/Bootstrap%20Icons-1.2.2-blueviolet" alt="Bootstrap Icons">
1010
</a>
1111
<a href="https://github.com/vuejs/vue-next">
1212
<img src="https://img.shields.io/badge/Vue.js-3.x-success" alt="Vue JS">
@@ -17,7 +17,7 @@
1717
1818
This package provides bootstrap icons as Vue components.
1919

20-
Built from Bootstrap Icons v1.1.0. **Requires Vue 3.**
20+
Built from Bootstrap Icons v1.2.2. **Requires Vue 3.**
2121

2222
## Usage
2323

@@ -97,8 +97,8 @@ Note that this registers all icon components to the app instance, unused icons w
9797
Include the scripts from CDN as follows:
9898

9999
```html
100-
<script src="https://unpkg.com/vue@3.0.0"></script>
101-
<script src="https://unpkg.com/bootstrap-icons-vue@0.3.0"></script>
100+
<script src="https://unpkg.com/vue@3.0.4"></script>
101+
<script src="https://unpkg.com/bootstrap-icons-vue@0.4.0"></script>
102102
```
103103

104104
Vue 3 does not have a global application instance, so it is not possible to install the icons components automatically. Instead the browser build exports a plugin `BootstrapIconsVue` to be installed:
@@ -109,4 +109,8 @@ app.use(BootstrapIconsVue);
109109
app.mount('#app');
110110
```
111111

112+
### Development
113+
114+
Install dependencies with `yarn install` then generate icon files with `yarn build`. Test them in cdn mode with `yarn dev:cdn` or vite mode with `yarn dev:vite`.
115+
112116
[Bootstrap Icons]: https://icons.getbootstrap.com/

dev-vite/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
},
88
"dependencies": {
99
"bootstrap-icons-vue": "file:..",
10-
"vue": "^3.0.0"
10+
"vue": "^3.0.4"
1111
},
1212
"devDependencies": {
13-
"@vue/compiler-sfc": "^3.0.0",
14-
"vite": "^1.0.0-rc.4"
13+
"@vue/compiler-sfc": "^3.0.4",
14+
"vite": "^1.0.0-rc.13"
1515
}
1616
}

0 commit comments

Comments
 (0)