Skip to content

Instantly share code, notes, and snippets.

@danielschmitz
Created January 7, 2018 11: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 danielschmitz/da4e7a42e7ebb64c20ecae5f902a7458 to your computer and use it in GitHub Desktop.
Save danielschmitz/da4e7a42e7ebb64c20ecae5f902a7458 to your computer and use it in GitHub Desktop.
src/main.js
// src/main.js
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
Vue.config.productionTip = false
/* eslint-disable no-new */
new Vue({
el: '#app',
router,
template: '<App/>',
components: { App }
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment