message: update directive create method
diff: import Generator from './generator';
  -import { getDataAttribute, isObject, getRules, warn, getScope } from './utils';
  +import config from './config';
  +import { getDataAttribute, isObject, getRules, warn, getScope, assign } from './utils';
  /**
  * Finds the requested field by id from the context object.
  @@ -13,7 +14,10 @@ const findField = (el, context) => {
  return context.$validator.fields.find({ id: getDataAttribute(el, 'id') });
  };
  -const createDirective = (options) => ({
  +const createDirective = options => {
  + options = assign({}, config, options);
  +
  + return {
  bind (el, binding, vnode) {
  const validator = vnode.context.$validator;
  if (! validator) {
  @@ -51,6 +55,7 @@ const createDirective = (options) => ({
  context.$validator.detach(field);
  }
  -});
  + };
  +};
  export default createDirective;
  