UNPKG
vue-mutable
Version:
latest (1.1.1)
1.1.1
1.1.0
1.0.0
0.0.0-development
Proxies your props into mutable local state.
github.com/sagalbot/vue-mutable
sagalbot/vue-mutable
vue-mutable
/
src
/
vue-mutable.js
17 lines
(14 loc)
•
297 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import
{ proxyMutableProps
as
mutableProps }
from
"./proxyMutableProps"
;
/** *
@type
{
PluginObject
} */
const
VueMutable
= {
/** *
@param
Vue {VueConstructor} *
@param
options {{}} */
install
(
Vue, options
) {
Vue
.
mixin
(mutableProps); } };
export
{
VueMutable
, mutableProps };