Reordering imports

This commit is contained in:
Marcel Hellkamp 2023-07-24 22:16:04 +02:00
parent f21d0f3a03
commit cee770d5a4
4 changed files with 12 additions and 10 deletions

View File

@ -1,14 +1,16 @@
<script setup lang="ts">
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 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 { loadConfig } from '@/config';
import { gitVersion } from '@/defaults'
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 allPosts = ref<Array<Post>>([])

View File

@ -1,5 +1,5 @@
import { arrayUnique, deepClone, isString } from "./utils";
import { arrayUnique, deepClone, isString } from "@/utils";
import { fallbackConfig, siteConfigUrl } from "@/defaults";
import { type Config } from '@/types';

View File

@ -21,11 +21,11 @@ import 'bootstrap/dist/css/bootstrap.css'
import 'bootstrap/dist/js/bootstrap.bundle.js'
import { createApp } from 'vue'
import App from '@/App.vue'
import { VueMasonryPlugin } from 'vue-masonry';
import VueDOMPurifyHTML from 'vue-dompurify-html';
import App from '@/App.vue'
const app = createApp(App)
app.use(VueMasonryPlugin)
app.use(VueDOMPurifyHTML, {

View File

@ -1,5 +1,5 @@
import type { Config, MastodonAccount, MastodonStatus, Post } from "./types";
import { regexEscape } from "./utils";
import type { Config, MastodonAccount, MastodonStatus, Post } from "@/types";
import { regexEscape } from "@/utils";
/**