import Vue from 'vue'
import App from './App'
import VueMarkdown from 'vue-markdown'
import VueAutosuggest from 'vue-autosuggest'
import router from './router'
import './helpers/repoData.js'
Vue.config.productionTip = false

// configuration
Vue.prototype.$apiBaseUrl = 'https://raw.githubusercontent.com/nluedtke/linux_kernel_cves/master/'

Vue.component('vue-markdown', VueMarkdown)
Vue.use(VueAutosuggest)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  render: h => h(App)
})

Vue.component('sidebar', {
  template: `<div>I am a sidebar</div>`
})

import Vue from 'vue'
import App from './App'
import VueMarkdown from 'vue-markdown'
import VueAutosuggest from 'vue-autosuggest'
import router from './router'
import './helpers/repoData.js'
Vue.config.productionTip = false

// configuration
Vue.prototype.$apiBaseUrl = 'https://raw.githubusercontent.com/nluedtke/linux_kernel_cves/master/'

Vue.component('vue-markdown', VueMarkdown)
Vue.use(VueAutosuggest)

/* eslint-disable no-new */
new Vue({
  mode: 'history',
  el: '#app',
  router,
  render: h => h(App)
})

Vue.component('sidebar', {
  template: `<div>I am a sidebar</div>`
})

Change to history mode