import Vue from 'vue'
import './plugins/vuetify'
import App from './App.vue'
import router from './router'
import store from './store'
import Vuetify from 'vuetify/lib'
import 'vuetify/dist/vuetify.min.css'
import axios from 'axios'
Vue.use(Vuetify, axios)
Vue.config.productionTip = false
new Vue({
router,
store,
render: h => h(App),
data() {
return {
info: null
};
},
mounted() {
axios
.get('https://api.coindesk.com/v1/bpi/currentprice.json')
.then(response => (this.info = response));
}
})
.$mount('#app')