react-18-ssr
Build react 18 + SSR from scratch ๐ช
ํ์ผ ํ์๊ธฐ
์ต์ข ๋ฒ์ ๋ค์ด๋ก๋ (.zip)- cspell.json
- extensions.json
- settings.json
- app.css
- blob-sighing.gif
- blob-thinking.gif
- blob-waving.gif
- favicon.ico
- logo192.png
- logo512.png
- manifest.json
- robots.txt
- app.css
- Html.tsx
- NotFound.tsx
- Result.tsx
- index.tsx
- thinking.tsx
- App.tsx
- AppRoutes.tsx
- index.tsx
- .gitignore
- .prettierrc
- package.json
- pnpm-lock.yaml
- README.md
- server.tsx
- tsconfig.json
# ์ค์น ๊ฐ์ด๋
1. ์ฝ๋ ๋ด๋ ค๋ฐ๊ธฐ
git clone https://github.com/maxam2017/react-18-ssr
๊นํ๋ธ์์ ํ๋ก์ ํธ ์ฝ๋ ์ ์ฒด๋ฅผ ๋ด ์ปดํจํฐ๋ก ๋ด๋ ค๋ฐ์ต๋๋ค.
cd react-18-ssr
๋ฐฉ๊ธ ๋ด๋ ค๋ฐ์ ํ๋ก์ ํธ ํด๋ ์์ผ๋ก ์ด๋ํฉ๋๋ค.
2. Node.js
์ฌ์ ์ถ์ฒ์ฌ์ ์ค๋น๋ฌผ
npm install
package.json์ ๋ช ์๋ ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ค์ ๋ด๋ ค๋ฐ์ ์ค์นํฉ๋๋ค.
npm start
๊ฐ๋ฐ/์คํ ์๋ฒ๋ฅผ ์ผญ๋๋ค.
๋ช
๋ น์ด ์คํ ํ ํฐ๋ฏธ๋์ ๋ํ๋๋ ์ฃผ์(๋ณดํต http://localhost:3000 ํํ)๋ฅผ ๋ธ๋ผ์ฐ์ ์์ ์ด์ด๋ณด์ธ์.
// repository documentation
Was this content helpful?
(0 ratings)
