From e2d7eae5842d2e86966903868001d45ce1f48f93 Mon Sep 17 00:00:00 2001 From: Sebastian Fastner Date: Fri, 13 May 2016 18:21:56 +0200 Subject: [PATCH] Update import information in readme --- readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 082d7ff..272cc23 100644 --- a/readme.md +++ b/readme.md @@ -46,7 +46,7 @@ In your main application javascript file: ```` // app.js -import VuexValidator from "vuex-validator"; +import { VuexValidator } from "vuex-validator"; import validators from "./vuex/validators"; import store from "./vuex/store"; // Inside there should be a Vue.use(Vuex) (see Vuex documentation) @@ -72,7 +72,7 @@ A sample validator: ```` // ./vuex/validation/test.js -import BaseValidator from "vuex-validator/lib/BaseValidator"; +import { BaseValidator } from "vuex-validator/lib/BaseValidator"; class TestValidator extends BaseValidator { constructor() {