Skip to content

Commit 1193acc

Browse files
committed
updated docs for new changes
1 parent a374852 commit 1193acc

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const user = {
4141
import { createModule, mutation, action, extractVuexModule } from "vuex-class-component";
4242

4343
const VuexModule = createModule({
44-
namespaced: true,
44+
namespaced: "user",
4545
strict: false,
4646
target: "nuxt",
4747
})

dist/interfaces.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/interfaces.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/interfaces.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@ import { Store } from "vuex";
22

33
export interface VuexModuleOptions {
44
/*
5-
* Takes a boolean or a namespacedPath.
5+
* Takes a namespacedPath.
66
* Defines wether the module should be namespaced or not.
7-
* If true, then the module will be namespaced.
8-
* If false, then the module will not be namespaced.
9-
* If it is a string the module will be namespaced and the value will be the namespaced path
7+
* If a string the module will be namespaced and the value will be the namespaced path
108
*/
119
namespaced ?:string;
1210
target ?:"nuxt";

0 commit comments

Comments
 (0)