Skip to content

Instantly share code, notes, and snippets.

@matthieu-D
Last active January 27, 2018 18:27
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 matthieu-D/28073649d56a172f3318ca924a400602 to your computer and use it in GitHub Desktop.
Save matthieu-D/28073649d56a172f3318ca924a400602 to your computer and use it in GitHub Desktop.
import Vue from 'vue';
import VanillaJsService from './vanilla-js-service';
var app = new Vue({
el: '#app',
data: function() {
return{
vanillaJsService: new VanillaJsService()
}
},
methods: {
useVanillaJsService: function() {
this.vanillaJsService.sayHello();
}
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment