mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 11:29:33 +08:00
refactor: refactor relative imports to aliases
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
---
|
||||
import { SITE } from "src/config";
|
||||
import { SITE } from "@config";
|
||||
import Layout from "@layouts/Layout.astro";
|
||||
import Header from "@components/Header.astro";
|
||||
import Footer from "@components/Footer.astro";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
import { SITE } from "src/config";
|
||||
import { SITE } from "@config";
|
||||
import Posts from "@layouts/Posts.astro";
|
||||
import getSortedPosts from "@utils/getSortedPosts";
|
||||
import getPageNumbers from "@utils/getPageNumbers";
|
||||
|
||||
Reference in New Issue
Block a user