Skip to content

Instantly share code, notes, and snippets.

@joaocarvalhowd
Created July 5, 2017 13:23
Show Gist options
  • Save joaocarvalhowd/a4ef7b9783d240ade6204dc63577e711 to your computer and use it in GitHub Desktop.
Save joaocarvalhowd/a4ef7b9783d240ade6204dc63577e711 to your computer and use it in GitHub Desktop.
// 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 * as filters from './utils/filters'
Vue.config.productionTip = false
Object.keys(filters).forEach(key => {
Vue.filter(key, filters[key])
})
/* eslint-disable no-new */
new Vue({
el: '#app',
template: '<App/>',
components: { App }
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment