Create a gist now

Instantly share code, notes, and snippets.

@justinyoo /src-main.js Secret
Last active Mar 5, 2017

What would you like to do?
Running Vue.js on ASP.NET Core Web Application
...
import Vue from 'vue'
import App from './App'
import router from './router'
// Register vue-resource to the Vue instance
Vue.use(require('vue-resource'))
...
new Vue({
el: '#app',
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment