IT momoa

  • 홈
  • 태그
  • 방명록

nextJS 3

[Next.js] @next/font/google 세팅

npm install @next/font 로 설치 후 ​ import { Noto_Sans_KR } from "@next/font/google"; import Head from "next/head"; ​ const notoSansKR = Noto_Sans_KR({ weight: ["400", "700"], subsets: [], }); ​ ​ {` html { font-family: ${notoSansKR.style.fontFamily}, sans-serif; } `}

program/next.js 2024.01.28

[Next.js] 빌드

npm run build ​ .next --> 폴더 안에 빌드 파일 생성 npm run start npm start 빌드 한 서버 실행하기 (빌드한 후에만 실행 가능)

program/next.js 2024.01.27

[next.js] project 세팅 방법

폴더 생성 후 아래와 같이 실행 ​ npx create-next-app . ​ ​ --> 개발서버 키는 명령어 npm run dev ​ 기존의 nextjs 프로젝트 폴더를 가져왔을 때 npm install --> 하면 필요한 설치 라이브러리를 설치해줌 ​

program/next.js 2024.01.27
이전
1
다음
더보기
프로필사진

it 관련 지식들을 모으고 정리하는 블로그 입니다.

  • It
    • it용어
    • program
      • java
      • web(html,css)
      • vue.js
      • node.js
      • react
      • next.js
      • javascript
      • python
      • jquery
      • tools
      • MFC
      • typescript
      • kotlin
    • DevOps
    • DB
    • etc

최근글과 인기글

  • 최근글
  • 인기글

Calendar

«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

Tag

NULL, REACT, undefined, 형변환, vscode, program, SQL, String, web, tag, db, coding, JavaScript, HTML, Python, nextJS, 컴퓨터, It, function, CSS,

Copyright © Kakao Corp. All rights reserved.

티스토리툴바