2018-01-31 10:55:49 -06: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 13:58:11 -05: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 00:40:24 -05:00
|
|
|
|
|
|
|
Vue.component('custom-date', require('./components/transactions/CustomDate.vue'));
|
2019-05-12 06:46:20 -05: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-23 22:29:04 -05:00
|
|
|
Vue.component('standard-date', require('./components/transactions/StandardDate.vue'));
|
|
|
|
Vue.component('group-description', require('./components/transactions/GroupDescription'));
|
|
|
|
Vue.component('transaction-description', require('./components/transactions/TransactionDescription'));
|
2019-05-12 00:40:24 -05:00
|
|
|
|
2019-05-04 13:58:11 -05: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 10:55:49 -06:00
|
|
|
|
|
|
|
/**
|
2018-02-06 11:13:54 -06:00
|
|
|
* Components for OAuth2 tokens.
|
2018-01-31 10:55:49 -06:00
|
|
|
*/
|
2018-02-06 11:13:54 -06: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 13:58:11 -05:00
|
|
|
Vue.component('create-transaction', require('./components/transactions/CreateTransaction'));
|
2018-02-04 01:15:20 -06:00
|
|
|
|
|
|
|
|
2018-01-31 10:55:49 -06:00
|
|
|
const app = new Vue({
|
2018-02-06 03:56:37 -06:00
|
|
|
el: '#app'
|
|
|
|
});
|