Skip to content

Instantly share code, notes, and snippets.

View gbrocha's full-sized avatar

Gabriel Rocha gbrocha

  • Inventa.shop
  • Rio de Janeiro - RJ
View GitHub Profile
@autumnwoodberry
autumnwoodberry / user.js
Last active March 24, 2022 06:49
vuex + vuelidate
import Vue from 'vue'
import { validationMixin } from 'vuelidate'
import { required, minLength } from 'vuelidate/lib/validators'
export default function (store) {
const validator = new Vue({
mixins: [
validationMixin
],
computed: {