mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-04 08:26:19 +02:00
Refactor
This commit is contained in:
@@ -21,11 +21,6 @@ import userTimeline from './user-timeline.vue';
|
||||
import activity from './activity.vue';
|
||||
import widgetContainer from './widget-container.vue';
|
||||
|
||||
//#region widgets
|
||||
import wActivity from './widgets/activity.vue';
|
||||
import wProfile from './widgets/profile.vue';
|
||||
//#endregion
|
||||
|
||||
Vue.component('mk-ui', ui);
|
||||
Vue.component('mk-timeline', timeline);
|
||||
Vue.component('mk-posts', posts);
|
||||
@@ -46,8 +41,3 @@ Vue.component('mk-user-preview', userPreview);
|
||||
Vue.component('mk-user-timeline', userTimeline);
|
||||
Vue.component('mk-activity', activity);
|
||||
Vue.component('mk-widget-container', widgetContainer);
|
||||
|
||||
//#region widgets
|
||||
Vue.component('mkw-activity', wActivity);
|
||||
Vue.component('mkw-profile', wProfile);
|
||||
//#endregion
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import define from '../../../../common/define-widget';
|
||||
import define from '../../../common/define-widget';
|
||||
|
||||
export default define({
|
||||
name: 'activity',
|
||||
7
src/web/app/mobile/views/widgets/index.ts
Normal file
7
src/web/app/mobile/views/widgets/index.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import Vue from 'vue';
|
||||
|
||||
import wActivity from './activity.vue';
|
||||
import wProfile from './profile.vue';
|
||||
|
||||
Vue.component('mkw-activity', wActivity);
|
||||
Vue.component('mkw-profile', wProfile);
|
||||
@@ -14,7 +14,7 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import define from '../../../../common/define-widget';
|
||||
import define from '../../../common/define-widget';
|
||||
export default define({
|
||||
name: 'profile'
|
||||
});
|
||||
Reference in New Issue
Block a user