File tree Expand file tree Collapse file tree 2 files changed +4
-14
lines changed Expand file tree Collapse file tree 2 files changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -13,22 +13,12 @@ It adds two flags `$isDirty` and `$isNew` (as _boolean_ attributes) on any insta
1313
1414## Installation
1515
16- Simply reference the github project in your ` package.json `
17-
18- ``` javascript
19- dependencies: {
20- ...
21- " vuexorm-isdirty-plugin" : " git://github.com/vuex-orm/vuexorm-isdirty-plugin"
22- ...
23- }
24- ```
25-
26- and run ` npm install ` .
16+ Simply run ` npm install @vuex-orm/plugin-change-flags --save ` in your favorite terminal.
2717
2818Then, you need to install the plugin as any VuexORM plugin. In your store initialization code, simply add:
2919
3020``` javascript
31- import VuexORMisDirtyPlugin from ' vuexorm-isdirty- plugin' ;
21+ import VuexORMisDirtyPlugin from ' @vuex-orm/ plugin-change-flags ' ;
3222```
3323
3424and then
Original file line number Diff line number Diff line change 11{
22 "name" : " @vuex-orm/plugin-change-flags" ,
3- "version" : " 1.0.0 " ,
3+ "version" : " 1.0.1 " ,
44 "description" : " Vuex ORM plugin adding IsDirty / IsNew flags to model entities" ,
55 "author" : " Thomas Villaren" ,
66 "main" : " dist/index.js" ,
7575 "url" : " https://github.com/vuex-orm/plugin-change-flags/issues"
7676 },
7777 "homepage" : " https://github.com/vuex-orm/plugin-change-flags#readme"
78- }
78+ }
You can’t perform that action at this time.
0 commit comments