Skip to content

Instantly share code, notes, and snippets.

@ChadTaljaardt
Created February 23, 2017 18:32
Show Gist options
  • Save ChadTaljaardt/85e40817601f7931583dc011b7813eb9 to your computer and use it in GitHub Desktop.
Save ChadTaljaardt/85e40817601f7931583dc011b7813eb9 to your computer and use it in GitHub Desktop.
require('./bootstrap');
import VueRouter from 'vue-router'
require('chart.js');
require('hchs-vue-charts');
window.moment = require('moment');
Vue.use(VueCharts);
import Dashboard from './pages/Dashboard.vue'
import Manual from './pages/Manual.vue'
Vue.component('example', require('./components/Example.vue'));
Vue.use(VueRouter)
const routes = [
{ path: '/', component: Dashboard },
{ path: 'manual-upload', component: Manual }
]
const router = new VueRouter({
routes
})
console.log(Manual);
const app = new Vue({
router
}).$mount('#app')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment