nextjs,tailwindcss,vercel
๋ฆฌ์กํธ / Next.js ๊ธฐ์ด - ๋ฆฌ์กํธ ํ๋ก์ ํธ ์์ํ๊ธฐ
์ฃผ์ ๐ฑ
2024. 5. 21. 01:23
728x90
๋ฐ์ํ
Next.js๋ ๋ฆฌ์กํธ ๊ธฐ๋ฐ ํ๋ ์์ํฌ๋ก ๋ฆฌ์กํธ์ ๋ํด ์ด๋์ ๋ ์๊ณ ์์ผ๋ฉด ์ข๋ค.
๋ก์ปฌ์์ ํ๋ก์ ํธ ๊ตฌ์ถํ๊ธฐ
create-react-app์ ์ฌ์ฉํด์ ์๋์ผ๋ก ๋น๋ ๊ฐ๋ฅํ๋ค.
npx create-react-app@latest react-sample --template typescript
cd react-sample
npm run start
์คํํ๋ฉด localhost:3000 ์์ ํ์ธ ๊ฐ๋ฅํ๋ค.
๋ฐ์ํ