Skip to content

Instantly share code, notes, and snippets.

Created Jan 5, 2018
What would you like to do?
import './startup'
import Vue from 'vue'
import App from './App'
import router from './router'
import * as resources from './resources'
import resource from './plugins/resource'
import deviceQueries from './plugins/device-queries'
import config from './config'
Vue.config.productionTip = false
Vue.use(resource, {
endpoint: '' + config.COSMIC_BUCKET
Vue.use(deviceQueries, {
phone: 'max-width: 567px',
tablet: 'min-width: 568px',
mobile: 'max-width: 1024px',
laptop: 'min-width: 1025px',
desktop: 'min-width: 1280px',
monitor: 'min-width: 1448px'
new Vue({
render: h => h(App)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment