🚚 Update project structure
This commit is contained in:
@@ -44,8 +44,8 @@ import { useUserStore } from "~/stores/user"
|
||||
import { useSolarNetwork } from "~/composables/useSolarNetwork"
|
||||
import type { SnVersion, SnActivity } from "~/types/api"
|
||||
|
||||
import PostEditor from "~/components/PostEditor.vue"
|
||||
import PostItem from "~/components/PostItem.vue"
|
||||
import PostEditor from "~/components/Post/PostEditor.vue"
|
||||
import PostItem from "~/components/Post/PostItem.vue"
|
||||
|
||||
import IconLight from "~/assets/images/cloudy-lamb.png"
|
||||
|
||||
|
||||
@@ -131,10 +131,6 @@ import { computed } from "vue"
|
||||
import { useMarkdownProcessor } from "~/composables/useMarkdownProcessor"
|
||||
import type { SnPost } from "~/types/api"
|
||||
|
||||
import PostHeader from "~/components/PostHeader.vue"
|
||||
import AttachmentList from "~/components/AttachmentList.vue"
|
||||
import PostReactionList from "~/components/PostReactionList.vue"
|
||||
|
||||
const route = useRoute()
|
||||
const id = route.params.id as string
|
||||
|
||||
|
||||
@@ -21,6 +21,12 @@ export default defineNuxtConfig({
|
||||
link: [{ rel: "icon", type: "image/png", href: "/favicon.png" }]
|
||||
}
|
||||
},
|
||||
components: [
|
||||
{
|
||||
path: "~/components",
|
||||
pathPrefix: false
|
||||
}
|
||||
],
|
||||
site: {
|
||||
url: process.env.NUXT_PUBLIC_SITE_URL || "https://solian.app",
|
||||
name: "Solar Network"
|
||||
|
||||
Reference in New Issue
Block a user