Last active
January 27, 2018 18:27
-
-
Save matthieu-D/28073649d56a172f3318ca924a400602 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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