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

Better module distribution #2

Closed
fastner opened this issue May 12, 2016 · 0 comments
Closed

Better module distribution #2

fastner opened this issue May 12, 2016 · 0 comments
Milestone

Comments

@fastner
Copy link
Member

fastner commented May 12, 2016

Today both modules

import VuexValidator from "vuex-validator";
import BaseValidator from "vuex-validator/lib/BaseValidator";

are used. The latter one has a lib component in path. This is ugly. Maybe both modules should be exported by vuex-validator.

import { VuexValidator, BaseValidator } from "vuex-validator";

or

import vuexValidator from "vuex-validator";
const VuexValidator = vuexValidator.VuexValidator;
const BaseValidator = vuexValidator.BaseValidator;
@fastner fastner added this to the V0.2 milestone May 12, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant