mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-19 02:52:44 +00:00
First set of code for new layout based on AdminLTE 3.0
This commit is contained in:
26
frontend/src/pages/dashboard.js
vendored
Normal file
26
frontend/src/pages/dashboard.js
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
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 });
|
||||
},
|
||||
});
|
Reference in New Issue
Block a user