From 5e2f11783cf06a25ac8a883b1af6177dbd6b7f2f Mon Sep 17 00:00:00 2001 From: teawon Date: Thu, 28 Sep 2023 21:10:52 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20=EC=A0=88=EB=8C=80=EA=B2=BD=EB=A1=9C?= =?UTF-8?q?=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Mindspace_front_next/app/LayoutProvider.tsx | 2 +- Mindspace_front_next/app/components/Navbar/Navbar.module.scss | 2 +- Mindspace_front_next/app/constants/type.ts | 1 + Mindspace_front_next/tsconfig.json | 3 ++- 4 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 Mindspace_front_next/app/constants/type.ts diff --git a/Mindspace_front_next/app/LayoutProvider.tsx b/Mindspace_front_next/app/LayoutProvider.tsx index 6086fb2..3016b61 100644 --- a/Mindspace_front_next/app/LayoutProvider.tsx +++ b/Mindspace_front_next/app/LayoutProvider.tsx @@ -1,7 +1,7 @@ "use client"; import "./globals.scss"; -import Navbar from "./components/Navbar"; +import Navbar from "@/components/Navbar"; import { usePathname } from "next/navigation"; export default function LayoutProvider({ diff --git a/Mindspace_front_next/app/components/Navbar/Navbar.module.scss b/Mindspace_front_next/app/components/Navbar/Navbar.module.scss index e657259..3ee9729 100644 --- a/Mindspace_front_next/app/components/Navbar/Navbar.module.scss +++ b/Mindspace_front_next/app/components/Navbar/Navbar.module.scss @@ -1,4 +1,4 @@ -@import "../../constants/styles/colors.scss"; +@import "@/constants/styles/colors.scss"; .navbar { position: relative; diff --git a/Mindspace_front_next/app/constants/type.ts b/Mindspace_front_next/app/constants/type.ts new file mode 100644 index 0000000..d8439b4 --- /dev/null +++ b/Mindspace_front_next/app/constants/type.ts @@ -0,0 +1 @@ +// 타입 명시 diff --git a/Mindspace_front_next/tsconfig.json b/Mindspace_front_next/tsconfig.json index c714696..475966a 100644 --- a/Mindspace_front_next/tsconfig.json +++ b/Mindspace_front_next/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "baseUrl": ".", "target": "es5", "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, @@ -19,7 +20,7 @@ } ], "paths": { - "@/*": ["./*"] + "@/*": ["app/*"] } }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],