mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-30 02:03:16 +00:00
Update components.js
This commit is contained in:
parent
82ea459ed7
commit
65cfbc428f
1 changed files with 7 additions and 0 deletions
7
resources/assets/js/components.js
vendored
7
resources/assets/js/components.js
vendored
|
@ -2,10 +2,12 @@ window.Vue = require('vue');
|
||||||
import BootstrapVue from 'bootstrap-vue'
|
import BootstrapVue from 'bootstrap-vue'
|
||||||
import InfiniteLoading from 'vue-infinite-loading';
|
import InfiniteLoading from 'vue-infinite-loading';
|
||||||
import Loading from 'vue-loading-overlay';
|
import Loading from 'vue-loading-overlay';
|
||||||
|
import VueTimeago from 'vue-timeago'
|
||||||
|
|
||||||
Vue.use(BootstrapVue);
|
Vue.use(BootstrapVue);
|
||||||
Vue.use(InfiniteLoading);
|
Vue.use(InfiniteLoading);
|
||||||
Vue.use(Loading);
|
Vue.use(Loading);
|
||||||
|
Vue.use(VueTimeago);
|
||||||
|
|
||||||
pixelfed.readmore = () => {
|
pixelfed.readmore = () => {
|
||||||
$('.read-more').each(function(k,v) {
|
$('.read-more').each(function(k,v) {
|
||||||
|
@ -81,6 +83,11 @@ Vue.component(
|
||||||
require('./components/PostComments.vue')
|
require('./components/PostComments.vue')
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Vue.component(
|
||||||
|
'timeline',
|
||||||
|
require('./components/Timeline.vue')
|
||||||
|
);
|
||||||
|
|
||||||
Vue.component(
|
Vue.component(
|
||||||
'passport-clients',
|
'passport-clients',
|
||||||
require('./components/passport/Clients.vue')
|
require('./components/passport/Clients.vue')
|
||||||
|
|
Loading…
Reference in a new issue