Skip to content

Instantly share code, notes, and snippets.

@dario61081
Created August 29, 2022 14:28
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 dario61081/bfcc3a9f9ec305311e3c9a07dd73002d to your computer and use it in GitHub Desktop.
Save dario61081/bfcc3a9f9ec305311e3c9a07dd73002d to your computer and use it in GitHub Desktop.
como iniciar un mixin de forma externa
let mixin_parametros = {
data() {
return {
clave: null,
tipo: 0,
valor_texto: null,
valor_numerico: null,
valor_booleano: false,
descripcion: null
}
}
}
Vue.mixin(mixin_parametros);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment