Created
August 22, 2018 19:27
-
-
Save Vitorbnc/6cea64a781009d6df6d7d38d524da04d to your computer and use it in GitHub Desktop.
Buefy this.$toast is undefined error 1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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