18e1efc7ec
* wip * Update ad.vue * Update default.widgets.vue * wip * Create 1620019354680-ad.ts * wip * Update ads.vue * wip * Update ad.vue
32 lines
1.0 KiB
TypeScript
32 lines
1.0 KiB
TypeScript
import { App } from 'vue';
|
|
|
|
import mfm from './global/misskey-flavored-markdown.vue';
|
|
import a from './global/a.vue';
|
|
import acct from './global/acct.vue';
|
|
import avatar from './global/avatar.vue';
|
|
import emoji from './global/emoji.vue';
|
|
import userName from './global/user-name.vue';
|
|
import ellipsis from './global/ellipsis.vue';
|
|
import time from './global/time.vue';
|
|
import url from './global/url.vue';
|
|
import i18n from './global/i18n';
|
|
import loading from './global/loading.vue';
|
|
import error from './global/error.vue';
|
|
import ad from './global/ad.vue';
|
|
|
|
export default function(app: App) {
|
|
app.component('I18n', i18n);
|
|
app.component('Mfm', mfm);
|
|
app.component('MkA', a);
|
|
app.component('MkAcct', acct);
|
|
app.component('MkAvatar', avatar);
|
|
app.component('MkEmoji', emoji);
|
|
app.component('MkUserName', userName);
|
|
app.component('MkEllipsis', ellipsis);
|
|
app.component('MkTime', time);
|
|
app.component('MkUrl', url);
|
|
app.component('MkLoading', loading);
|
|
app.component('MkError', error);
|
|
app.component('MkAd', ad);
|
|
}
|