Rebuild frontend.

This commit is contained in:
James Cole
2021-04-03 10:40:31 +02:00
parent 7f55a870d9
commit 34f4b16a63
70 changed files with 266 additions and 43 deletions

View File

@@ -4,6 +4,7 @@
"/public/js/accounts/show.js": "/public/js/accounts/show.js",
"/public/js/transactions/create.js": "/public/js/transactions/create.js",
"/public/js/transactions/edit.js": "/public/js/transactions/edit.js",
"/public/js/transactions/index.js": "/public/js/transactions/index.js",
"/public/js/empty.js": "/public/js/empty.js",
"/public/js/register.js": "/public/js/register.js",
"/public/js/manifest.js": "/public/js/manifest.js",

View File

@@ -25,6 +25,14 @@
</div>
<div class="card-body table-responsive p-0">
<table class="table table-sm">
<caption style="display:none;">{{ title }}</caption>
<thead>
<tr>
<th scope="col">{{ $t('firefly.budget') }}</th>
<th scope="col">{{ $t('firefly.spent') }}</th>
<th scope="col">{{ $t('firefly.left') }}</th>
</tr>
</thead>
<tbody>
<BudgetLimitRow v-for="(budgetLimit, key) in budgetLimits" v-bind:key="key" :budgetLimit="budgetLimit"/>
<BudgetRow v-for="(budget, key) in budgets" v-bind:key="key" :budget="budget"/>

View File

@@ -38,6 +38,13 @@
<!-- body if normal -->
<div v-if="!loading && !error" class="card-body table-responsive p-0">
<table class="table table-sm">
<caption style="display:none;">{{ $t('firefly.categories') }}</caption>
<thead>
<tr>
<th scope="col">{{ $t('firefly.category') }}</th>
<th scope="col">{{ $t('firefly.spent') }}</th>
</tr>
</thead>
<tbody>
<tr v-for="category in sortedList">
<td style="width:20%;">

View File

@@ -38,6 +38,13 @@
<!-- body if normal -->
<div v-if="!loading && !error" class="card-body table-responsive p-0">
<table class="table table-sm">
<caption style="display:none;">{{ $t('firefly.revenue_accounts') }}</caption>
<thead>
<tr>
<th scope="col">{{ $t('firefly.category') }}</th>
<th scope="col">{{ $t('firefly.spent') }}</th>
</tr>
</thead>
<tbody>
<tr v-for="entry in income">
<td style="width:20%;"><a :href="'./accounts/show/' + entry.id">{{ entry.name }}</a></td>

View File

@@ -38,6 +38,13 @@
<!-- body if normal -->
<div v-if="!loading && !error" class="card-body table-responsive p-0">
<table class="table table-sm">
<caption style="display:none;">{{ $t('firefly.expense_accounts') }}</caption>
<thead>
<tr>
<th scope="col">{{ $t('firefly.category') }}</th>
<th scope="col">{{ $t('firefly.spent') }}</th>
</tr>
</thead>
<tbody>
<tr v-for="entry in expenses">
<td style="width:20%;"><a :href="'./accounts/show/' + entry.id">{{ entry.name }}</a></td>

View File

@@ -0,0 +1,33 @@
<!--
- Index.vue
- Copyright (c) 2021 james@firefly-iii.org
-
- This file is part of Firefly III (https://github.com/firefly-iii).
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License as
- published by the Free Software Foundation, either version 3 of the
- License, or (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU Affero General Public License for more details.
-
- You should have received a copy of the GNU Affero General Public License
- along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
<template>
<div>Hello</div>
</template>
<script>
export default {
name: "Index"
}
</script>
<style scoped>
</style>

View File

@@ -105,12 +105,13 @@
<div class="row">
<div class="col">
<span v-if="searching"><i class="fas fa-spinner fa-spin"></i></span>
<h4 v-if="searchResults.length > 0">Search results</h4>
<h4 v-if="searchResults.length > 0">{{ $t('firefly.search_results') }}</h4>
<table v-if="searchResults.length > 0" class="table table-sm">
<caption style="display:none;">{{ $t('firefly.search_results') }}</caption>
<thead>
<tr>
<th colspan="2" style="width:33%">Include?</th>
<th>Transaction</th>
<th scope="col" colspan="2" style="width:33%">{{ $t('firefly.include') }}</th>
<th scope="col">{{ $t('firefly.transaction') }}</th>
</tr>
</thead>
<tbody>

View File

@@ -54,7 +54,12 @@
"piggy_banks": "\u041a\u0430\u0441\u0438\u0447\u043a\u0438",
"piggy_bank": "\u041a\u0430\u0441\u0438\u0447\u043a\u0430",
"amounts": "\u0421\u0443\u043c\u0438",
"left": "\u041e\u0441\u0442\u0430\u043d\u0430\u043b\u0438",
"spent": "\u041f\u043e\u0445\u0430\u0440\u0447\u0435\u043d\u0438",
"Default asset account": "\u0421\u043c\u0435\u0442\u043a\u0430 \u0437\u0430 \u0430\u043a\u0442\u0438\u0432\u0438 \u043f\u043e \u043f\u043e\u0434\u0440\u0430\u0437\u0431\u0438\u0440\u0430\u043d\u0435",
"search_results": "\u0420\u0435\u0437\u0443\u043b\u0442\u0430\u0442\u0438 \u043e\u0442 \u0442\u044a\u0440\u0441\u0435\u043d\u0435\u0442\u043e",
"include": "Include?",
"transaction": "\u0422\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u044f",
"account_role_defaultAsset": "\u0421\u043c\u0435\u0442\u043a\u0430 \u0437\u0430 \u0430\u043a\u0442\u0438\u0432\u0438 \u043f\u043e \u043f\u043e\u0434\u0440\u0430\u0437\u0431\u0438\u0440\u0430\u043d\u0435",
"account_role_savingAsset": "\u0421\u043f\u0435\u0441\u0442\u043e\u0432\u043d\u0430 \u0441\u043c\u0435\u0442\u043a\u0430",
"account_role_sharedAsset": "\u0421\u043c\u0435\u0442\u043a\u0430 \u0437\u0430 \u0441\u043f\u043e\u0434\u0435\u043b\u0435\u043d\u0438 \u0430\u043a\u0442\u0438\u0432\u0438",

View File

@@ -54,7 +54,12 @@
"piggy_banks": "Pokladni\u010dky",
"piggy_bank": "Pokladni\u010dka",
"amounts": "Amounts",
"left": "Zb\u00fdv\u00e1",
"spent": "Utraceno",
"Default asset account": "V\u00fdchoz\u00ed \u00fa\u010det s aktivy",
"search_results": "V\u00fdsledky hled\u00e1n\u00ed",
"include": "Include?",
"transaction": "Transakce",
"account_role_defaultAsset": "V\u00fdchoz\u00ed \u00fa\u010det aktiv",
"account_role_savingAsset": "Spo\u0159ic\u00ed \u00fa\u010det",
"account_role_sharedAsset": "Sd\u00edlen\u00fd \u00fa\u010det aktiv",

View File

@@ -54,7 +54,12 @@
"piggy_banks": "Sparschweine",
"piggy_bank": "Sparschwein",
"amounts": "Betr\u00e4ge",
"left": "\u00dcbrig",
"spent": "Ausgegeben",
"Default asset account": "Standard-Bestandskonto",
"search_results": "Suchergebnisse",
"include": "Include?",
"transaction": "\u00dcberweisung",
"account_role_defaultAsset": "Standard-Bestandskonto",
"account_role_savingAsset": "Sparkonto",
"account_role_sharedAsset": "Gemeinsames Bestandskonto",

View File

@@ -54,7 +54,12 @@
"piggy_banks": "\u039a\u03bf\u03c5\u03bc\u03c0\u03b1\u03c1\u03ac\u03b4\u03b5\u03c2",
"piggy_bank": "\u039a\u03bf\u03c5\u03bc\u03c0\u03b1\u03c1\u03ac\u03c2",
"amounts": "\u03a0\u03bf\u03c3\u03ac",
"left": "\u0391\u03c0\u03bf\u03bc\u03ad\u03bd\u03bf\u03c5\u03bd",
"spent": "\u0394\u03b1\u03c0\u03b1\u03bd\u03ae\u03b8\u03b7\u03ba\u03b1\u03bd",
"Default asset account": "\u0392\u03b1\u03c3\u03b9\u03ba\u03cc\u03c2 \u03bb\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc\u03c2 \u03ba\u03b5\u03c6\u03b1\u03bb\u03b1\u03af\u03bf\u03c5",
"search_results": "\u0391\u03c0\u03bf\u03c4\u03b5\u03bb\u03ad\u03c3\u03bc\u03b1\u03c4\u03b1 \u03b1\u03bd\u03b1\u03b6\u03ae\u03c4\u03b7\u03c3\u03b7\u03c2",
"include": "Include?",
"transaction": "\u03a3\u03c5\u03bd\u03b1\u03bb\u03bb\u03b1\u03b3\u03ae",
"account_role_defaultAsset": "\u0392\u03b1\u03c3\u03b9\u03ba\u03cc\u03c2 \u03bb\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc\u03c2 \u03ba\u03b5\u03c6\u03b1\u03bb\u03b1\u03af\u03bf\u03c5",
"account_role_savingAsset": "\u039b\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc\u03c2 \u03b1\u03c0\u03bf\u03c4\u03b1\u03bc\u03af\u03b5\u03c5\u03c3\u03b7\u03c2",
"account_role_sharedAsset": "\u039a\u03bf\u03b9\u03bd\u03cc\u03c2 \u03bb\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc\u03c2 \u03ba\u03b5\u03c6\u03b1\u03bb\u03b1\u03af\u03bf\u03c5",

View File

@@ -54,7 +54,12 @@
"piggy_banks": "Piggy banks",
"piggy_bank": "Piggy bank",
"amounts": "Amounts",
"left": "Left",
"spent": "Spent",
"Default asset account": "Default asset account",
"search_results": "Search results",
"include": "Include?",
"transaction": "Transaction",
"account_role_defaultAsset": "Default asset account",
"account_role_savingAsset": "Savings account",
"account_role_sharedAsset": "Shared asset account",

View File

@@ -54,7 +54,12 @@
"piggy_banks": "Piggy banks",
"piggy_bank": "Piggy bank",
"amounts": "Amounts",
"left": "Left",
"spent": "Spent",
"Default asset account": "Default asset account",
"search_results": "Search results",
"include": "Include?",
"transaction": "Transaction",
"account_role_defaultAsset": "Default asset account",
"account_role_savingAsset": "Savings account",
"account_role_sharedAsset": "Shared asset account",

View File

@@ -54,7 +54,12 @@
"piggy_banks": "Huchas",
"piggy_bank": "Hucha",
"amounts": "Importes",
"left": "Disponible",
"spent": "Gastado",
"Default asset account": "Cuenta de ingresos por defecto",
"search_results": "Buscar resultados",
"include": "Include?",
"transaction": "Transaccion",
"account_role_defaultAsset": "Cuentas de ingresos por defecto",
"account_role_savingAsset": "Cuentas de ahorros",
"account_role_sharedAsset": "Cuenta de ingresos compartida",

View File

@@ -54,7 +54,12 @@
"piggy_banks": "S\u00e4\u00e4st\u00f6possut",
"piggy_bank": "S\u00e4\u00e4st\u00f6possu",
"amounts": "Amounts",
"left": "J\u00e4ljell\u00e4",
"spent": "K\u00e4ytetty",
"Default asset account": "Oletusomaisuustili",
"search_results": "Haun tulokset",
"include": "Include?",
"transaction": "Tapahtuma",
"account_role_defaultAsset": "Oletusk\u00e4ytt\u00f6tili",
"account_role_savingAsset": "S\u00e4\u00e4st\u00f6tili",
"account_role_sharedAsset": "Jaettu k\u00e4ytt\u00f6tili",

View File

@@ -54,7 +54,12 @@
"piggy_banks": "Tirelires",
"piggy_bank": "Tirelire",
"amounts": "Montants",
"left": "Reste",
"spent": "D\u00e9pens\u00e9",
"Default asset account": "Compte d\u2019actif par d\u00e9faut",
"search_results": "R\u00e9sultats de la recherche",
"include": "Include?",
"transaction": "Op\u00e9ration",
"account_role_defaultAsset": "Compte d'actif par d\u00e9faut",
"account_role_savingAsset": "Compte d\u2019\u00e9pargne",
"account_role_sharedAsset": "Compte d'actif partag\u00e9",

View File

@@ -54,7 +54,12 @@
"piggy_banks": "Malacperselyek",
"piggy_bank": "Malacpersely",
"amounts": "Mennyis\u00e9gek",
"left": "Maradv\u00e1ny",
"spent": "Elk\u00f6lt\u00f6tt",
"Default asset account": "Alap\u00e9rtelmezett eszk\u00f6zsz\u00e1mla",
"search_results": "Keres\u00e9si eredm\u00e9nyek",
"include": "Include?",
"transaction": "Tranzakci\u00f3",
"account_role_defaultAsset": "Alap\u00e9rtelmezett eszk\u00f6zsz\u00e1mla",
"account_role_savingAsset": "Megtakar\u00edt\u00e1si sz\u00e1mla",
"account_role_sharedAsset": "Megosztott eszk\u00f6zsz\u00e1mla",

View File

@@ -54,7 +54,12 @@
"piggy_banks": "Salvadanai",
"piggy_bank": "Salvadanaio",
"amounts": "Importi",
"left": "Resto",
"spent": "Speso",
"Default asset account": "Conto attivit\u00e0 predefinito",
"search_results": "Risultati ricerca",
"include": "Include?",
"transaction": "Transazione",
"account_role_defaultAsset": "Conto attivit\u00e0 predefinito",
"account_role_savingAsset": "Conto risparmio",
"account_role_sharedAsset": "Conto attivit\u00e0 condiviso",

View File

@@ -54,7 +54,12 @@
"piggy_banks": "Sparegriser",
"piggy_bank": "Sparegris",
"amounts": "Amounts",
"left": "Gjenv\u00e6rende",
"spent": "Brukt",
"Default asset account": "Standard aktivakonto",
"search_results": "S\u00f8keresultater",
"include": "Include?",
"transaction": "Transaksjon",
"account_role_defaultAsset": "Standard aktivakonto",
"account_role_savingAsset": "Sparekonto",
"account_role_sharedAsset": "Delt aktivakonto",

View File

@@ -54,7 +54,12 @@
"piggy_banks": "Spaarpotjes",
"piggy_bank": "Spaarpotje",
"amounts": "Bedragen",
"left": "Over",
"spent": "Uitgegeven",
"Default asset account": "Standaard betaalrekening",
"search_results": "Zoekresultaten",
"include": "Include?",
"transaction": "Transactie",
"account_role_defaultAsset": "Standaard betaalrekening",
"account_role_savingAsset": "Spaarrekening",
"account_role_sharedAsset": "Gedeelde betaalrekening",

View File

@@ -54,7 +54,12 @@
"piggy_banks": "Skarbonki",
"piggy_bank": "Skarbonka",
"amounts": "Kwoty",
"left": "Pozosta\u0142o",
"spent": "Wydano",
"Default asset account": "Domy\u015blne konto aktyw\u00f3w",
"search_results": "Wyniki wyszukiwania",
"include": "Include?",
"transaction": "Transakcja",
"account_role_defaultAsset": "Domy\u015blne konto aktyw\u00f3w",
"account_role_savingAsset": "Konto oszcz\u0119dno\u015bciowe",
"account_role_sharedAsset": "Wsp\u00f3\u0142dzielone konto aktyw\u00f3w",

View File

@@ -54,7 +54,12 @@
"piggy_banks": "Cofrinhos",
"piggy_bank": "Cofrinho",
"amounts": "Quantias",
"left": "Restante",
"spent": "Gasto",
"Default asset account": "Conta padr\u00e3o",
"search_results": "Resultados da pesquisa",
"include": "Include?",
"transaction": "Transa\u00e7\u00e3o",
"account_role_defaultAsset": "Conta padr\u00e3o",
"account_role_savingAsset": "Conta poupan\u00e7a",
"account_role_sharedAsset": "Contas de ativos compartilhadas",

View File

@@ -54,7 +54,12 @@
"piggy_banks": "Mealheiros",
"piggy_bank": "Mealheiro",
"amounts": "Montantes",
"left": "Em falta",
"spent": "Gasto",
"Default asset account": "Conta de activos padr\u00e3o",
"search_results": "Resultados da pesquisa",
"include": "Include?",
"transaction": "Transac\u00e7\u00e3o",
"account_role_defaultAsset": "Conta de activos padr\u00e3o",
"account_role_savingAsset": "Conta poupan\u00e7a",
"account_role_sharedAsset": "Conta de activos partilhados",

View File

@@ -54,7 +54,12 @@
"piggy_banks": "Pu\u0219culi\u021b\u0103",
"piggy_bank": "Pu\u0219culi\u021b\u0103",
"amounts": "Amounts",
"left": "R\u0103mas",
"spent": "Cheltuit",
"Default asset account": "Cont de active implicit",
"search_results": "Rezultatele c\u0103utarii",
"include": "Include?",
"transaction": "Tranzac\u0163ie",
"account_role_defaultAsset": "Contul implicit activ",
"account_role_savingAsset": "Cont de economii",
"account_role_sharedAsset": "Contul de active partajat",

View File

@@ -54,7 +54,12 @@
"piggy_banks": "\u041a\u043e\u043f\u0438\u043b\u043a\u0438",
"piggy_bank": "\u041a\u043e\u043f\u0438\u043b\u043a\u0430",
"amounts": "\u0421\u0443\u043c\u043c\u0430",
"left": "\u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c",
"spent": "\u0420\u0430\u0441\u0445\u043e\u0434",
"Default asset account": "\u0421\u0447\u0451\u0442 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e",
"search_results": "\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043f\u043e\u0438\u0441\u043a\u0430",
"include": "Include?",
"transaction": "\u0422\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u044f",
"account_role_defaultAsset": "\u0421\u0447\u0451\u0442 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e",
"account_role_savingAsset": "\u0421\u0431\u0435\u0440\u0435\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0441\u0447\u0435\u0442",
"account_role_sharedAsset": "\u041e\u0431\u0449\u0438\u0439 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0441\u0447\u0451\u0442",

View File

@@ -54,7 +54,12 @@
"piggy_banks": "Pokladni\u010dky",
"piggy_bank": "Pokladni\u010dka",
"amounts": "Suma",
"left": "Zost\u00e1va",
"spent": "Utraten\u00e9",
"Default asset account": "Prednastaven\u00fd \u00fa\u010det akt\u00edv",
"search_results": "V\u00fdsledky vyh\u013ead\u00e1vania",
"include": "Include?",
"transaction": "Transakcia",
"account_role_defaultAsset": "Predvolen\u00fd \u00fa\u010det akt\u00edv",
"account_role_savingAsset": "\u0160etriaci \u00fa\u010det",
"account_role_sharedAsset": "Zdie\u013ean\u00fd \u00fa\u010det akt\u00edv",

View File

@@ -54,7 +54,12 @@
"piggy_banks": "Spargrisar",
"piggy_bank": "Spargris",
"amounts": "Belopp",
"left": "\u00c5terst\u00e5r",
"spent": "Spenderat",
"Default asset account": "F\u00f6rvalt tillg\u00e5ngskonto",
"search_results": "S\u00f6kresultat",
"include": "Include?",
"transaction": "Transaktion",
"account_role_defaultAsset": "F\u00f6rvalt tillg\u00e5ngskonto",
"account_role_savingAsset": "Sparkonto",
"account_role_sharedAsset": "Delat tillg\u00e5ngskonto",

View File

@@ -54,7 +54,12 @@
"piggy_banks": "Heo \u0111\u1ea5t",
"piggy_bank": "Heo \u0111\u1ea5t",
"amounts": "Amounts",
"left": "C\u00f2n l\u1ea1i",
"spent": "\u0110\u00e3 chi",
"Default asset account": "M\u1eb7c \u0111\u1ecbnh t\u00e0i kho\u1ea3n",
"search_results": "K\u1ebft qu\u1ea3 t\u00ecm ki\u1ebfm",
"include": "Include?",
"transaction": "Giao d\u1ecbch",
"account_role_defaultAsset": "t\u00e0i kho\u1ea3n m\u1eb7c \u0111\u1ecbnh",
"account_role_savingAsset": "T\u00e0i kho\u1ea3n ti\u1ebft ki\u1ec7m",
"account_role_sharedAsset": "t\u00e0i kho\u1ea3n d\u00f9ng chung",

View File

@@ -54,7 +54,12 @@
"piggy_banks": "\u5b58\u94b1\u7f50",
"piggy_bank": "\u5b58\u94b1\u7f50",
"amounts": "\u91d1\u989d",
"left": "\u5269\u4f59",
"spent": "\u652f\u51fa",
"Default asset account": "\u9ed8\u8ba4\u8d44\u4ea7\u8d26\u6237",
"search_results": "\u641c\u7d22\u7ed3\u679c",
"include": "Include?",
"transaction": "\u4ea4\u6613",
"account_role_defaultAsset": "\u9ed8\u8ba4\u8d44\u4ea7\u8d26\u6237",
"account_role_savingAsset": "\u50a8\u84c4\u8d26\u6237",
"account_role_sharedAsset": "\u5171\u7528\u8d44\u4ea7\u8d26\u6237",

View File

@@ -54,7 +54,12 @@
"piggy_banks": "\u5c0f\u8c6c\u64b2\u6eff",
"piggy_bank": "\u5c0f\u8c6c\u64b2\u6eff",
"amounts": "Amounts",
"left": "\u5269\u9918",
"spent": "\u652f\u51fa",
"Default asset account": "\u9810\u8a2d\u8cc7\u7522\u5e33\u6236",
"search_results": "\u641c\u5c0b\u7d50\u679c",
"include": "Include?",
"transaction": "\u4ea4\u6613",
"account_role_defaultAsset": "\u9810\u8a2d\u8cc7\u7522\u5e33\u6236",
"account_role_savingAsset": "\u5132\u84c4\u5e33\u6236",
"account_role_sharedAsset": "\u5171\u7528\u8cc7\u7522\u5e33\u6236",

View File

@@ -0,0 +1,42 @@
/*
* index.js
* Copyright (c) 2021 james@firefly-iii.org
*
* This file is part of Firefly III (https://github.com/firefly-iii).
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
import Vue from "vue";
import store from "../../components/store";
import Index from "../../components/transactions/Index";
require('../../bootstrap');
// i18n
let i18n = require('../../i18n');
let props = {};
new Vue({
i18n,
store,
render(createElement) {
return createElement(Index, {props: props});
},
beforeCreate() {
this.$store.commit('initialiseStore');
//this.$store.dispatch('updateCurrencyPreference');
},
}).$mount('#transactions_index');

View File

@@ -53,6 +53,7 @@ mix.js('src/pages/accounts/show.js', 'public/js/accounts').vue({version: 2});
// transactions.
mix.js('src/pages/transactions/create.js', 'public/js/transactions').vue({version: 2});
mix.js('src/pages/transactions/edit.js', 'public/js/transactions').vue({version: 2});
mix.js('src/pages/transactions/index.js', 'public/js/transactions').vue({version: 2});
// static pages
mix.js('src/pages/empty.js', 'public/js').vue({version: 2});