๋ฐ์ํ create-react-app9 [์ํ์ฝ๋ฉ-React] ๋ฐฐํฌํ๋๋ฒ [์ถ์ฒ : Youtube - ์ํ์ฝ๋ฉ] https://youtu.be/E_-ua6uCQOU?list=PLuHgQVnccGMCRv6f8H9K5Xwsdyg4sFSdi '์บ์ ๋น์ฐ๊ธฐ ๋ฐ ๊ฐ๋ ฅ ์๋ก๊ณ ์นจ'์ ๋๋ฅธ๋ค. ์ ์ฒด ์ฉ๋์ด 1.7MB๋ ๋๋ค. (React๊ฐ ๊ฐ๋ฐ์ ํธ์์ฑ์ ์ํด ์ฌ๋ฌ๊ฐ์ง ๊ธฐ๋ฅ์ ์ถ๊ฐํด๋์ create-react-app์ ํ์ผ์ ๋ฌด๊ฒ๊ฐ ์๋นํ ๋ฌด๊ฒ๋ค) ๊ทธ๋ฌ๋ ์ฉ๋์ด ์ปค์ ๋ณด์์ชฝ์ ๋ฌธ์ ๊ฐ ์๊ธธ ์ ์์ด์ ์์ฑํ ํ์๋ npm run build ๋ผ๋ ๋ช ๋ น์ด๋ฅผ ์ด๋ค. ํฐ๋ฏธ๋์ npm run build๋ฅผ ์ ๋ ฅํ๋ฉด build๋ผ๋ ํด๋๊ฐ ์์ฑ๋๋ค. build ํด๋ ์์ index.html ํ์ผ๋ก ๋ค์ด๊ฐ๋ฉด ์๋์ ๊ฐ์ด ๊ณต๋ฐฑ์ด ํ๋๋ ์๋ ๋ณต์กํ ์ฝ๋๊ฐ ์๋ค. ์ด์ ๋ create-react-app์ด inde.. 2021. 5. 28. [์ํ์ฝ๋ฉ-React] CSS ์ฝ๋ฉํ๋ ๋ฒ [์ถ์ฒ : Youtube - ์ํ์ฝ๋ฉ] https://youtu.be/FbNvDu-XTVg?list=PLuHgQVnccGMCRv6f8H9K5Xwsdyg4sFSdi CSS๋ index.css์์ ์์ ํ ์ ์๋ค. 2021. 4. 21. [์ํ์ฝ๋ฉ-React] create-react-app์ ์ด์ฉํด์ ๊ฐ๋ฐํ๊ฒฝ๊ตฌ์ถ [์ถ์ฒ : Youtube - ์ํ์ฝ๋ฉ] https://www.youtube.com/watch?v=C9l-dQTeW7k&list=PLuHgQVnccGMCRv6f8H9K5Xwsdyg4sFSdi&index=5 1. ๋จผ์ Node.js์ create-react-app์ ์ค์นํ๋ค (์ค์น&์ธํ ๋ฒ ์นดํ ๊ณ ๋ฆฌ์ ์์) 2. react-app์ด๋ผ๋ ํด๋๋ฅผ ์์ฑํ๋ค. 3. cmd ์ฐฝ์ ๋์ฐ๊ณ ๊ฒฝ๋ก๋ฅผ react-app ํด๋๋ก ์ค์ ํ๋ค. ๊ทธ๋ฆฌ๊ณ ๋ค์๊ณผ ๊ฐ์ด ๋ช ๋ น์ด๋ฅผ ์ ๋ ฅํ๋ค. create-react-app . โ ์ฃผ์ create-react-app์ด ์ต์ ๋ฒ์ ์ด ์๋๋ฉด ์ต์ ๋ฒ์ ์ผ๋ก ์ฌ์ค์นํด์ผํจ!! ์ค์น : npm install -g create-react-app ์ ๊ฑฐ : npm uninstall -g create-react-app.. 2021. 4. 18. ์ด์ 1 2 ๋ค์ ๋ฐ์ํ