mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-20 02:01:19 +00:00
Rebuild new frontend.
This commit is contained in:
12
frontend/src/pages/dashboard.js
vendored
12
frontend/src/pages/dashboard.js
vendored
@@ -23,9 +23,7 @@ import TopBoxes from "../components/dashboard/TopBoxes";
|
||||
import MainAccount from "../components/dashboard/MainAccount";
|
||||
import MainAccountList from "../components/dashboard/MainAccountList";
|
||||
import MainBillsList from "../components/dashboard/MainBillsList";
|
||||
import MainBudget from "../components/dashboard/MainBudget";
|
||||
import MainBudgetList from "../components/dashboard/MainBudgetList";
|
||||
import MainCategory from "../components/dashboard/MainCategory";
|
||||
import MainCredit from "../components/dashboard/MainCredit";
|
||||
import MainDebit from "../components/dashboard/MainDebit";
|
||||
import MainPiggyList from "../components/dashboard/MainPiggyList";
|
||||
@@ -34,6 +32,7 @@ import TransactionListMedium from "../components/transactions/TransactionListMed
|
||||
import TransactionListSmall from "../components/transactions/TransactionListSmall";
|
||||
import DatePicker from 'v-calendar/lib/components/date-picker.umd'
|
||||
import Calendar from "../components/dashboard/Calendar";
|
||||
import MainCategoryList from "../components/dashboard/MainCategoryList";
|
||||
/**
|
||||
* First we will load Axios via bootstrap.js
|
||||
* jquery and bootstrap-sass preloaded in app.js
|
||||
@@ -42,6 +41,7 @@ import Calendar from "../components/dashboard/Calendar";
|
||||
|
||||
require('../bootstrap');
|
||||
require('chart.js');
|
||||
Vue.config.devtools = false;
|
||||
|
||||
Vue.component('transaction-list-large', TransactionListLarge);
|
||||
Vue.component('transaction-list-medium', TransactionListMedium);
|
||||
@@ -54,9 +54,8 @@ Vue.component('top-boxes', TopBoxes);
|
||||
Vue.component('main-account', MainAccount);
|
||||
Vue.component('main-account-list', MainAccountList);
|
||||
Vue.component('main-bills-list', MainBillsList);
|
||||
Vue.component('main-budget', MainBudget);
|
||||
Vue.component('main-budget-list', MainBudgetList);
|
||||
Vue.component('main-category', MainCategory);
|
||||
Vue.component('main-category-list', MainCategoryList);
|
||||
Vue.component('main-credit', MainCredit);
|
||||
Vue.component('main-debit', MainDebit);
|
||||
Vue.component('main-piggy-list', MainPiggyList);
|
||||
@@ -66,11 +65,12 @@ let i18n = require('../i18n');
|
||||
|
||||
|
||||
let props = {};
|
||||
|
||||
new Vue({
|
||||
i18n,
|
||||
el: "#dashboard",
|
||||
render: (createElement) => {
|
||||
return createElement(Dashboard, { props: props });
|
||||
return createElement(Dashboard, {props: props});
|
||||
},
|
||||
});
|
||||
|
||||
@@ -78,6 +78,6 @@ new Vue({
|
||||
i18n,
|
||||
el: "#calendar",
|
||||
render: (createElement) => {
|
||||
return createElement(Calendar, { props: props });
|
||||
return createElement(Calendar, {props: props});
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user