Skip to content

Instantly share code, notes, and snippets.

@bachhm-dev
Created August 30, 2020 03:40
Show Gist options
  • Select an option

  • Save bachhm-dev/1ae1d3255562e3557925038f551620f2 to your computer and use it in GitHub Desktop.

Select an option

Save bachhm-dev/1ae1d3255562e3557925038f551620f2 to your computer and use it in GitHub Desktop.
// this mixin affects both below instances
Vue.mixin({ /* ... */ })
const app1 = new Vue({ el: '#app-1' })
const app2 = new Vue({ el: '#app-2' })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment