๋ฐ์ํ React32 [์ํ์ฝ๋ฉ-React] JS ์ฝ๋ฉํ๋ ๋ฒ [์ถ์ฒ : Youtube - ์ํ์ฝ๋ฉ] https://youtu.be/LEPiRfPD9Uw?list=PLuHgQVnccGMCRv6f8H9K5Xwsdyg4sFSdi public index.html ํ์ผ์ด ์๋ ๊ณณ์. index.html ์์ id๊ฐ root์ธ ๊ณณ ํ๊ทธ ์์ชฝ์ ์ปดํฌ๋ํธ๊ฐ ๋ค์ด๊ฐ๋๋ก create-react-app์ ์ฝ์ํ์. src ์ปดํฌ๋ํธ๋ src ์์ ์๋ ํ์ผ๋ค์ ์์ ํด์ ๋ง๋ฌ. ์์ผ๋ก ๊ฐ๋ฐ์์ ์ ํ๊ฒ๋๋ฉด ๋๋ถ๋ถ์ ํ์ผ์ src ์์ ๋ฃ๊ฒ ๋ ๊ฒ์. ๊ทธ์ค์์ entryํ์ผ, ์ฆ ์ง์ ํ์ผ์ index.js ํ์ผ์. ์์ ๋ฐ์ค ์น ๋ถ๋ถ์ ๊ธฐ๋ฐ์ผ๋ก ํด์ public์ index.html ํ์ผ์ ์์ ํ๋ค. ์์ ๋ฐ์ค ์น ์ react๋ฅผ ํตํด ๋ง๋ ์ฌ์ฉ์ ์ ์ ์ปดํฌ๋ํธ์ด๋ค. ์ ์ปดํฌ๋ํธ์ ์ค์ ๊ตฌ.. 2021. 4. 19. [์ํ์ฝ๋ฉ-React] ์ํ ์น์ฑ ์คํ [์ถ์ฒ : Youtube - ์ํ์ฝ๋ฉ] https://youtu.be/O58tOX0CtoY?list=PLuHgQVnccGMCRv6f8H9K5Xwsdyg4sFSdi terminal์ ์คํํ ํ ๋ค์๊ณผ ๊ฐ์ด ๋ช ๋ น์ด๋ฅผ ์ ๋ ฅํ๋ค. npm run start ์คํํ๋ฉด ์๋์ ๊ฐ์ ์ฐฝ์ด ๋ฌ๋ค. โ npm์ ๋๊ณ ์ถ์๋ ctrl + c ๋ฅผ ์ ๋ ฅํ๋ค. 2021. 4. 19. [์ํ์ฝ๋ฉ-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. React(๋ฆฌ์กํธ)์ ์ฅ์ -๊ฐ๋ ์ฑ -์ฌ์ฌ์ฉ์ฑ -์ ์ง๋ณด์ 2021. 4. 15. [์ํ์ฝ๋ฉ-React] ๋ฐฐํฌํ๋ ๋ฒ [์ถ์ฒ : Youtube - ์ํ์ฝ๋ฉ] https://www.youtube.com/watch?v=E_-ua6uCQOU&list=PLuHgQVnccGMCRv6f8H9K5Xwsdyg4sFSdi&index=9 npm run build ๊ณต๋ฐฑ๊ณผ ๊ฐ์ด ๋ถํ์ํ๊ฒ ๊ณต๊ฐ์ ์ฐจ์งํ๋ ์ ๋ณด๋ค์ ์น ์ด๊ท ์ํด. (์ฉ๋์ด ์์์ง) create-react-app์ด ์์์ ์ฉ๋์ ์ค์ฌ์ค. npx serve -s build 2021. 2. 7. [์ํ์ฝ๋ฉ-React] CSS ์ฝ๋ฉํ๋๋ฒ [์ถ์ฒ : Youtube - ์ํ์ฝ๋ฉ] https://www.youtube.com/watch?v=FbNvDu-XTVg&list=PLuHgQVnccGMCRv6f8H9K5Xwsdyg4sFSdi&index=8 2021. 2. 7. ์ด์ 1 2 3 4 5 6 ๋ค์ ๋ฐ์ํ