mirror of
https://github.com/defnull/fediwall.git
synced 2024-11-28 18:43:11 +01:00
Reordering imports
This commit is contained in:
parent
f21d0f3a03
commit
cee770d5a4
12
src/App.vue
12
src/App.vue
@ -1,14 +1,16 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { computed, inject, onBeforeUnmount, onMounted, onUpdated, ref, watch } from 'vue';
|
import { computed, inject, onBeforeUnmount, onMounted, onUpdated, ref, watch } from 'vue';
|
||||||
import Card from './components/Card.vue';
|
|
||||||
import { useDocumentVisibility, usePreferredDark, useWindowSize, watchDebounced } from '@vueuse/core'
|
import { useDocumentVisibility, usePreferredDark, useWindowSize, watchDebounced } from '@vueuse/core'
|
||||||
import ConfigModal from './components/ConfigModal.vue';
|
|
||||||
import { loadConfig } from './config';
|
|
||||||
import InfoBar from './components/InfoBar.vue';
|
|
||||||
import { gitVersion } from '@/defaults'
|
|
||||||
import { type Config, type Post } from '@/types';
|
import { type Config, type Post } from '@/types';
|
||||||
|
import { loadConfig } from '@/config';
|
||||||
|
import { gitVersion } from '@/defaults'
|
||||||
import { fetchPosts } from '@/sources'
|
import { fetchPosts } from '@/sources'
|
||||||
|
|
||||||
|
import Card from './components/Card.vue';
|
||||||
|
import ConfigModal from './components/ConfigModal.vue';
|
||||||
|
import InfoBar from './components/InfoBar.vue';
|
||||||
|
|
||||||
const config = ref<Config>();
|
const config = ref<Config>();
|
||||||
|
|
||||||
const allPosts = ref<Array<Post>>([])
|
const allPosts = ref<Array<Post>>([])
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
import { arrayUnique, deepClone, isString } from "./utils";
|
import { arrayUnique, deepClone, isString } from "@/utils";
|
||||||
import { fallbackConfig, siteConfigUrl } from "@/defaults";
|
import { fallbackConfig, siteConfigUrl } from "@/defaults";
|
||||||
import { type Config } from '@/types';
|
import { type Config } from '@/types';
|
||||||
|
|
||||||
|
@ -21,11 +21,11 @@ import 'bootstrap/dist/css/bootstrap.css'
|
|||||||
import 'bootstrap/dist/js/bootstrap.bundle.js'
|
import 'bootstrap/dist/js/bootstrap.bundle.js'
|
||||||
|
|
||||||
import { createApp } from 'vue'
|
import { createApp } from 'vue'
|
||||||
import App from '@/App.vue'
|
|
||||||
|
|
||||||
import { VueMasonryPlugin } from 'vue-masonry';
|
import { VueMasonryPlugin } from 'vue-masonry';
|
||||||
import VueDOMPurifyHTML from 'vue-dompurify-html';
|
import VueDOMPurifyHTML from 'vue-dompurify-html';
|
||||||
|
|
||||||
|
import App from '@/App.vue'
|
||||||
|
|
||||||
const app = createApp(App)
|
const app = createApp(App)
|
||||||
app.use(VueMasonryPlugin)
|
app.use(VueMasonryPlugin)
|
||||||
app.use(VueDOMPurifyHTML, {
|
app.use(VueDOMPurifyHTML, {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import type { Config, MastodonAccount, MastodonStatus, Post } from "./types";
|
import type { Config, MastodonAccount, MastodonStatus, Post } from "@/types";
|
||||||
import { regexEscape } from "./utils";
|
import { regexEscape } from "@/utils";
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user