mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-04 20:11:54 +00:00
27 lines
643 B
JavaScript
27 lines
643 B
JavaScript
|
|
import Dashboard from "../components/dashboard/Dashboard";
|
||
|
|
import TopBoxes from "../components/dashboard/TopBoxes";
|
||
|
|
|
||
|
|
/**
|
||
|
|
* First we will load Axios via bootstrap.js
|
||
|
|
* jquery and bootstrap-sass preloaded in app.js
|
||
|
|
* vue, uiv and vuei18n are in app_vue.js
|
||
|
|
*/
|
||
|
|
|
||
|
|
require('../bootstrap');
|
||
|
|
|
||
|
|
// components as an example
|
||
|
|
Vue.component('dashboard', Dashboard);
|
||
|
|
Vue.component('top-boxes', TopBoxes);
|
||
|
|
|
||
|
|
// i18n
|
||
|
|
let i18n = require('../i18n');
|
||
|
|
|
||
|
|
let props = {};
|
||
|
|
new Vue({
|
||
|
|
i18n,
|
||
|
|
el: "#dashboard",
|
||
|
|
render: (createElement) => {
|
||
|
|
return createElement(Dashboard, { props: props });
|
||
|
|
},
|
||
|
|
});
|