Skip to content

Commit b12f8be

Browse files
author
Damian Dulisz
authored
Update README.md
1 parent 6b3d343 commit b12f8be

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,19 @@ export default {
7171
}
7272
```
7373

74+
Alternatively:
75+
76+
```html
77+
<script src="https://cdn.jsdelivr.net/vue.multiselect/1.1.4/vue-multiselect.min.js"></script>
78+
```
79+
80+
VueMultiselect will be available on the window object. As it contains a default export you have to access it through `VueMultiselect.default`.
81+
82+
```javascript
83+
// register the plugin globally
84+
Vue.component('Multiselect', VueMultiselect.default)
85+
```
86+
7487
You can now author custom components based on *vue-multiselect* mixins.
7588

7689
``` javascript

0 commit comments

Comments
 (0)