Skip to content

Instantly share code, notes, and snippets.

@justinyoo
Last active March 5, 2017 23:14
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save justinyoo/573e49fe4140ea5635e77cedee66ebe6 to your computer and use it in GitHub Desktop.
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