Skip to content
This repository has been archived by the owner on Nov 15, 2017. It is now read-only.

Commit

Permalink
Update import information in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
fastner committed May 13, 2016
1 parent fffbd40 commit e2d7eae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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() {
Expand Down

0 comments on commit e2d7eae

Please sign in to comment.