ย
ย
ย
1. ๋ ธ์ ํ ํ๋ฆฟ ๋ณต์
- ๋ค์์ ํ ํ๋ฆฟ์ ์์ ์ ์ํฌ์คํ์ด์ค๋ก ๋ณต์ ํด์จ๋ค
- ๋ณต์ ํ ํ์ด์ง๋ฅผ ์น์ ๊ฒ์ํ๋ค


notion.site/
์?v=
์ฌ์ด์ ์๋ pageId๋ฅผ ๋ณต์ ํด๋๋ค
https://devskim.notion.site/Next-js-Notion-Starter-Kit-Template-e45884a6714d42c990b8623c78a006b2?pvs=4
ย
ย
2. ์ ์ฅ์ ์ค์
- ๋ค์์ ๋ช ๋ น์ด๋ก ์ ์ฅ์๋ฅผ ๋ฐ๋๋ค
git clone https://github.com/transitive-bullshit/nextjs-notion-starter-kit.git
- site.config.ts์์ rootNotionPageId๋ฅผ ์ค์ ํ๋ค
import { siteConfig } from './lib/site-config' export default siteConfig({ // the site's root Notion page (required) rootNotionPageId: 'e45884a6714d42c990b8623c78a006b2', ... }
- ํ์ํ ๋ ธ๋ ํจํค์ง๋ฅผ ์ค์นํ๋ค
npm install --legacy-peer-deps
- ํจํค์ง๋ฅผ ์คํํ๋ค
npm run dev
ย
ย
3. ์นํ์ด์ง
- ๋ค์๊ณผ ๊ฐ์ ๋ชจ์ต์ผ๋ก ๋ ธ์ ํ์ด์ง๊ฐ ๋ ๋๋ง๋๋ค


ย
ย
ย