Update components.js

This commit is contained in:
Daniel Supernault 2019-02-10 21:31:25 -07:00
parent e5d9c6460a
commit 9c8b07ae4c
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 18 additions and 39 deletions

View File

@ -32,13 +32,11 @@ try {
} catch (e) {
}
window.InfiniteScroll = require('infinite-scroll');
window.filesize = require('filesize');
window.Plyr = require('plyr');
import swal from 'sweetalert';
require('./components/localstorage');
require('./components/likebutton');
require('./components/commentform');
require('./components/searchform');
require('./components/bookmarkform');
@ -90,24 +88,30 @@ Vue.component(
require('./components/presenter/MixedAlbumPresenter.vue').default
);
// Vue.component(
// 'micro',
// require('./components/Micro.vue').default
// );
Vue.component(
'post-menu',
require('./components/PostMenu.vue').default
);
Vue.component(
'follow-suggestions',
require('./components/FollowSuggestions.vue').default
'passport-clients',
require('./components/passport/Clients.vue').default
);
Vue.component(
'discover-component',
require('./components/DiscoverComponent.vue').default
'passport-authorized-clients',
require('./components/passport/AuthorizedClients.vue').default
);
Vue.component(
'passport-personal-access-tokens',
require('./components/passport/PersonalAccessTokens.vue').default
);
// Vue.component(
// 'profile',
// require('./components/Profile.vue').default
// 'follow-suggestions',
// require('./components/FollowSuggestions.vue').default
// );
// Vue.component(
@ -115,34 +119,9 @@ Vue.component(
// require('./components/CirclePanel.vue')
// );
Vue.component(
'post-component',
require('./components/PostComponent.vue').default
);
Vue.component(
'post-comments',
require('./components/PostComments.vue').default
);
Vue.component(
'timeline',
require('./components/Timeline.vue').default
);
// Vue.component(
// 'passport-clients',
// require('./components/passport/Clients.vue').default
// );
// Vue.component(
// 'passport-authorized-clients',
// require('./components/passport/AuthorizedClients.vue').default
// );
// Vue.component(
// 'passport-personal-access-tokens',
// require('./components/passport/PersonalAccessTokens.vue').default
// 'story-compose',
// require('./components/StoryCompose.vue').default
// );
//import 'promise-polyfill/src/polyfill';