Skip to content

Instantly share code, notes, and snippets.

@danielschmitz
Created February 12, 2018 18:36
Show Gist options
  • Save danielschmitz/360eb90fc78755fc853ee4dfad0ef67d to your computer and use it in GitHub Desktop.
Save danielschmitz/360eb90fc78755fc853ee4dfad0ef67d to your computer and use it in GitHub Desktop.
Adicionando o Buefy no Vue
// 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'
import Buefy from 'buefy'
import 'buefy/lib/buefy.css'
Vue.config.productionTip = false
Vue.use(Buefy)
/* eslint-disable no-new */
new Vue({
el: '#app',
router,
components: { App },
template: '<App/>'
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment