2020-10-17 11:12:00 +00:00
|
|
|
import { App } from 'vue';
|
2020-01-29 19:37:25 +00: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 18:42:36 +00:00
|
|
|
import streamIndicator from './stream-indicator.vue';
|
2020-01-29 19:37:25 +00:00
|
|
|
|
2020-10-17 11:12:00 +00: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);
|
|
|
|
}
|