Skip to content

Commit 5860039

Browse files
author
tvillaren
committed
Updating documentation
1 parent 0256157 commit 5860039

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

README.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff 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

2818
Then, 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

3424
and then

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",
@@ -75,4 +75,4 @@
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+
}

0 commit comments

Comments
 (0)