Skip to content

Instantly share code, notes, and snippets.

@mtermoul

mtermoul/main.js Secret

Last active September 15, 2018 21:39
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 mtermoul/5409bdd9f72274044e95c464f67f0bcb to your computer and use it in GitHub Desktop.
Save mtermoul/5409bdd9f72274044e95c464f67f0bcb to your computer and use it in GitHub Desktop.
garage-sale/main.js
// grarage-sale/main.js
import '@babel/polyfill'
import Vue from 'vue'
import './plugins/vuetify'
import App from './App.vue'
import router from './router'
import store from './store'
import './registerServiceWorker'
Vue.config.productionTip = false
new Vue({
router,
store,
render: h => h(App),
created () {
this.$store.dispatch('loadInitialData', {term: ''})
}
}).$mount('#app')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment