Last active
June 28, 2018 20:22
-
-
Save driedtoast/d750355dd2a23fb3ca1f9ac93f2114a0 to your computer and use it in GitHub Desktop.
Quasar with vue resouce
This file contains 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
// main.js | |
import Vue from 'vue' | |
import VueResource from 'vue-resource' | |
import Quasar from 'quasar' | |
import router from './router' | |
Vue.use(Quasar) // Install Quasar Framework | |
Vue.use(VueResource) | |
Quasar.start(() => { | |
/* eslint-disable no-new */ | |
new Vue({ | |
dataSharingHost: 'http://localhost:8080', // referenced via this.$root.$options.myHost | |
el: '#q-app', | |
router, | |
render: h => h(require('./App')) | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
for inside components :