mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-04 20:11:54 +00:00
Upgrade frontend.
This commit is contained in:
35
frontend/src/pages/dashboard.js
vendored
35
frontend/src/pages/dashboard.js
vendored
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* dashboard.js
|
||||
* Copyright (c) 2020 james@firefly-iii.org
|
||||
* Copyright (c) 2021 james@firefly-iii.org
|
||||
*
|
||||
* This file is part of Firefly III (https://github.com/firefly-iii).
|
||||
*
|
||||
@@ -18,21 +18,22 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import Dashboard from "../components/dashboard/Dashboard";
|
||||
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 MainBudgetList from "../components/dashboard/MainBudgetList";
|
||||
import MainCreditList from "../components/dashboard/MainCreditList";
|
||||
import MainDebitList from "../components/dashboard/MainDebitList";
|
||||
import MainPiggyList from "../components/dashboard/MainPiggyList";
|
||||
import TransactionListLarge from "../components/transactions/TransactionListLarge";
|
||||
import TransactionListMedium from "../components/transactions/TransactionListMedium";
|
||||
import TransactionListSmall from "../components/transactions/TransactionListSmall";
|
||||
import Calendar from "../components/dashboard/Calendar";
|
||||
import MainCategoryList from "../components/dashboard/MainCategoryList";
|
||||
import Vue from "vue";
|
||||
|
||||
import Dashboard from '../components/dashboard/Dashboard';
|
||||
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 MainBudgetList from '../components/dashboard/MainBudgetList';
|
||||
import MainCreditList from '../components/dashboard/MainCreditList';
|
||||
import MainDebitList from '../components/dashboard/MainDebitList';
|
||||
import MainPiggyList from '../components/dashboard/MainPiggyList';
|
||||
import TransactionListLarge from '../components/transactions/TransactionListLarge';
|
||||
import TransactionListMedium from '../components/transactions/TransactionListMedium';
|
||||
import TransactionListSmall from '../components/transactions/TransactionListSmall';
|
||||
import Calendar from '../components/dashboard/Calendar';
|
||||
import MainCategoryList from '../components/dashboard/MainCategoryList';
|
||||
import Vue from 'vue';
|
||||
import Vuex from 'vuex'
|
||||
import store from '../components/store';
|
||||
|
||||
@@ -70,7 +71,7 @@ let props = {};
|
||||
new Vue({
|
||||
i18n,
|
||||
store,
|
||||
el: "#dashboard",
|
||||
el: '#dashboard',
|
||||
render: (createElement) => {
|
||||
return createElement(Dashboard, {props: props});
|
||||
},
|
||||
|
||||
10
frontend/src/pages/empty.js
vendored
10
frontend/src/pages/empty.js
vendored
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* dashboard.js
|
||||
* Copyright (c) 2020 james@firefly-iii.org
|
||||
* empty.js
|
||||
* Copyright (c) 2021 james@firefly-iii.org
|
||||
*
|
||||
* This file is part of Firefly III (https://github.com/firefly-iii).
|
||||
*
|
||||
@@ -18,10 +18,4 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/**
|
||||
* 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');
|
||||
|
||||
Reference in New Issue
Block a user