vue-mutable
Advanced tools
Comparing version 1.0.0 to 1.1.0
{ | ||
"name": "vue-mutable", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Proxies your props into mutable local state.", | ||
@@ -5,0 +5,0 @@ "main": "dist/vue-mutable.js", |
@@ -5,2 +5,15 @@ # Vue Mutable | ||
# Install | ||
```bash | ||
npm i --save vue-mutable | ||
# or | ||
yarn add vue-mutable | ||
``` | ||
```js | ||
import { VueMutable } from 'vue-mutable'; | ||
Vue.use(VueMutable); | ||
``` | ||
## Before | ||
@@ -7,0 +20,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { proxyMutableProps } from "./proxyMutableProps"; | ||
import { proxyMutableProps as mutableProps } from "./proxyMutableProps"; | ||
@@ -12,6 +12,6 @@ /** | ||
install(Vue, options) { | ||
Vue.mixin(proxyMutableProps); | ||
Vue.mixin(mutableProps); | ||
} | ||
}; | ||
export { VueMutable }; | ||
export { VueMutable, mutableProps }; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7287
65