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"],