Skip to content

Commit

Permalink
chore: 절대경로 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
teawon committed Sep 28, 2023
1 parent 7a96409 commit 5e2f117
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Mindspace_front_next/app/LayoutProvider.tsx
Original file line number Diff line number Diff line change
@@ -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({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "../../constants/styles/colors.scss";
@import "@/constants/styles/colors.scss";

.navbar {
position: relative;
Expand Down
1 change: 1 addition & 0 deletions Mindspace_front_next/app/constants/type.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// 타입 명시
3 changes: 2 additions & 1 deletion Mindspace_front_next/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"baseUrl": ".",
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
Expand All @@ -19,7 +20,7 @@
}
],
"paths": {
"@/*": ["./*"]
"@/*": ["app/*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
Expand Down

0 comments on commit 5e2f117

Please sign in to comment.