Refactor tu use astrowind:config virtual import
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
import { APP_BLOG } from '~/utils/config';
|
||||
import { APP_BLOG } from 'astrowind:config';
|
||||
import type { Post } from '~/types';
|
||||
|
||||
import Image from '~/components/common/Image.astro';
|
||||
|
@@ -4,7 +4,7 @@ import { Icon } from 'astro-icon/components';
|
||||
import Image from '~/components/common/Image.astro';
|
||||
import PostTags from '~/components/blog/Tags.astro';
|
||||
|
||||
import { APP_BLOG } from '~/utils/config';
|
||||
import { APP_BLOG } from 'astrowind:config';
|
||||
import type { Post } from '~/types';
|
||||
|
||||
import { getPermalink } from '~/utils/permalinks';
|
||||
|
@@ -1,5 +1,5 @@
|
||||
---
|
||||
import { APP_BLOG } from "~/utils/config";
|
||||
import { APP_BLOG } from "astrowind:config";
|
||||
|
||||
import { fetchPosts, getRelatedPosts } from "~/utils/blog";
|
||||
import BlogHighlightedPosts from "../widgets/BlogHighlightedPosts.astro";
|
||||
|
@@ -1,7 +1,7 @@
|
||||
---
|
||||
import { getPermalink } from '~/utils/permalinks';
|
||||
|
||||
import { APP_BLOG } from '~/utils/config';
|
||||
import { APP_BLOG } from 'astrowind:config';
|
||||
import type { Post } from '~/types';
|
||||
|
||||
export interface Props {
|
||||
|
@@ -1,7 +1,7 @@
|
||||
---
|
||||
import { Icon } from 'astro-icon/components';
|
||||
import { getBlogPermalink } from '~/utils/permalinks';
|
||||
import { I18N } from '~/utils/config';
|
||||
import { I18N } from 'astrowind:config';
|
||||
import Button from '~/components/ui/Button.astro';
|
||||
|
||||
const { textDirection } = I18N;
|
||||
|
Reference in New Issue
Block a user