Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created June 2, 2019 16:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/e738fb88bd9948aeca2e14faa3004764 to your computer and use it in GitHub Desktop.
Save parzibyte/e738fb88bd9948aeca2e14faa3004764 to your computer and use it in GitHub Desktop.
Vue.use(VeeValidate, {
classes: true,// Sí queremos que ponga clases automáticamente
// Indicar qué clase poner al input en caso de que sea
// válido o inválido. Usamos Bootstrap 4
classNames: {
valid: "is-valid",
invalid: "is-invalid",
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment