2020-10-17 13:12:00 +02:00
|
|
|
import { App } from 'vue';
|
2020-01-29 20:37:25 +01:00
|
|
|
|
|
|
|
import mfm from './misskey-flavored-markdown.vue';
|
|
|
|
import acct from './acct.vue';
|
|
|
|
import avatar from './avatar.vue';
|
|
|
|
import emoji from './emoji.vue';
|
|
|
|
import userName from './user-name.vue';
|
|
|
|
import ellipsis from './ellipsis.vue';
|
|
|
|
import time from './time.vue';
|
|
|
|
import url from './url.vue';
|
|
|
|
import loading from './loading.vue';
|
|
|
|
import error from './error.vue';
|
2020-02-19 19:42:36 +01:00
|
|
|
import streamIndicator from './stream-indicator.vue';
|
2020-01-29 20:37:25 +01:00
|
|
|
|
2020-10-17 13:12:00 +02:00
|
|
|
export default function(app: App) {
|
|
|
|
app.component('Mfm', mfm);
|
|
|
|
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('StreamIndicator', streamIndicator);
|
|
|
|
}
|