Created
February 23, 2017 18:32
-
-
Save ChadTaljaardt/85e40817601f7931583dc011b7813eb9 to your computer and use it in GitHub Desktop.
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
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