vue-window-size
Advanced tools
Comparing version 1.1.1 to 1.1.2
{ | ||
"name": "vue-window-size", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Reactivity window size for Vue.js.", | ||
@@ -32,3 +32,3 @@ "main": "dist/index.js", | ||
"jest": "^26.2.1", | ||
"lint-staged": "^10.2.11", | ||
"lint-staged": "^11.0.0", | ||
"np": "^7.0.0", | ||
@@ -35,0 +35,0 @@ "npm-run-all": "^4.1.5", |
@@ -34,9 +34,11 @@ # vue-window-size | ||
You can install v1 using the following command. | ||
When using with vue v1 it depends on the [@vue/composition-api](https://github.com/vuejs/composition-api). | ||
When using with vue-window-size v1 it depends on the [@vue/composition-api](https://github.com/vuejs/composition-api). | ||
And requires Vue.js v2.6 or higher. | ||
> note: v1.1.0 or later is for vue3 only | ||
```bash | ||
$ yarn add vue-window-size @vue/composition-api | ||
$ yarn add vue-window-size@1.0.x @vue/composition-api | ||
// or | ||
$ npm i vue-window-size @vue/composition-api | ||
$ npm i vue-window-size@1.0.x @vue/composition-api | ||
``` | ||
@@ -43,0 +45,0 @@ |
10649
213