First set of code for new layout based on AdminLTE 3.0

This commit is contained in:
James Cole
2020-06-14 15:51:20 +02:00
parent caddf3d1c6
commit 7c1139e42b
42 changed files with 13385 additions and 3 deletions

26
frontend/src/pages/dashboard.js vendored Normal file
View 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 });
},
});