2018-01-31 17:55:49 +01:00
|
|
|
/**
|
|
|
|
* First we will load all of this project's JavaScript dependencies which
|
|
|
|
* includes Vue and other libraries. It is a great starting point when
|
|
|
|
* building robust, powerful web applications using Vue and Laravel.
|
|
|
|
*/
|
|
|
|
|
|
|
|
require('./bootstrap');
|
|
|
|
window.Vue = require('vue');
|
2019-05-04 20:58:11 +02:00
|
|
|
import * as uiv from 'uiv';
|
|
|
|
|
|
|
|
Vue.use(uiv);
|
|
|
|
// components for create and edit transactions.
|
|
|
|
Vue.component('budget', require('./components/transactions/Budget.vue'));
|
2019-05-12 07:40:24 +02:00
|
|
|
|
|
|
|
Vue.component('custom-date', require('./components/transactions/CustomDate.vue'));
|
2019-05-12 13:46:20 +02:00
|
|
|
Vue.component('custom-string', require('./components/transactions/CustomString.vue'));
|
|
|
|
Vue.component('custom-attachments', require('./components/transactions/CustomAttachments.vue'));
|
|
|
|
Vue.component('custom-textarea', require('./components/transactions/CustomTextArea.vue'));
|
|
|
|
|
2019-05-12 07:40:24 +02:00
|
|
|
|
2019-05-04 20:58:11 +02:00
|
|
|
Vue.component('custom-transaction-fields', require('./components/transactions/CustomTransactionFields.vue'));
|
|
|
|
Vue.component('piggy-bank', require('./components/transactions/PiggyBank.vue'));
|
|
|
|
Vue.component('tags', require('./components/transactions/Tags.vue'));
|
|
|
|
Vue.component('category', require('./components/transactions/Category.vue'));
|
|
|
|
Vue.component('amount', require('./components/transactions/Amount.vue'));
|
|
|
|
Vue.component('foreign-amount', require('./components/transactions/ForeignAmountSelect.vue'));
|
|
|
|
Vue.component('transaction-type', require('./components/transactions/TransactionType.vue'));
|
|
|
|
Vue.component('account-select', require('./components/transactions/AccountSelect.vue'));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-01-31 17:55:49 +01:00
|
|
|
|
|
|
|
/**
|
2018-02-06 18:13:54 +01:00
|
|
|
* Components for OAuth2 tokens.
|
2018-01-31 17:55:49 +01:00
|
|
|
*/
|
2018-02-06 18:13:54 +01:00
|
|
|
Vue.component('passport-clients', require('./components/passport/Clients.vue'));
|
|
|
|
Vue.component('passport-authorized-clients', require('./components/passport/AuthorizedClients.vue'));
|
|
|
|
Vue.component('passport-personal-access-tokens', require('./components/passport/PersonalAccessTokens.vue'));
|
2019-05-04 20:58:11 +02:00
|
|
|
Vue.component('create-transaction', require('./components/transactions/CreateTransaction'));
|
2018-02-04 08:15:20 +01:00
|
|
|
|
|
|
|
|
2018-01-31 17:55:49 +01:00
|
|
|
const app = new Vue({
|
2018-02-06 10:56:37 +01:00
|
|
|
el: '#app'
|
|
|
|
});
|