์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- ์์
- ์ฑ ์ฝ๊ธฐ
- ํค๋ํผ์คํธ๋์์ธํจํด
- DesignPattern
- Java
- ๊นจ๋ํ์ฝ๋
- ์ฃผ๋์ด๊ฐ๋ฐ์
- ํค๋ํผ์คํธ
- JAVA๊ฐ๋ฐ์
- ์ฑ์๋ง์ง
- ์ฑ์๋ณผ๊ฑฐ๋ฆฌ
- ์ฑ ๋๋
- ์ง์ฅ์ธ์ ์ฌ
- ์ฝ๋ฉ
- IntelliJ
- JavaScript
- Linux
- ๊ฐ์ฒด์งํฅํ๋ก๊ทธ๋๋ฐ
- ๋ ์
- ๊ฐ์ฒด์งํฅ
- ๋์์ธํจํด
- ์ฑ์์ง์ฅ์ธ
- ์ค๋ธ์ ํธ
- ์ง์ฅ์ธ
- ํด๋ฆฐ์ฝ๋
- ์ฑ์
- ๊ฐ๋ฐ์
- ๋ ์์ผ์ง
- docker
- ์ฑ์ํซํ
- Today
- Total
๋ชฉ๋ก์๋ฌํด๊ฒฐ (3)
๋ญ๋ฐ๊ฐ๋ฐ
์์ธ useRoutes๋ ๋ก ๊ฐ์ธ์ผ ํ๋๋ฐ, ๊ฐ์ธ์ง ์๊ณ ์ฌ์ฉํด์ ๋ฐ์ํ ์๋ฌ. ํด๊ฒฐ index.js ์์ import { BrowserRouter } from 'react-router-dom'; ํด์ฃผ๊ณ , const root = ReactDOM.createRoot(document.getElementById('root')); root.render( ); ์ด๋ ๊ฒ App.js ๋ฅผ BrowserRouter๋ก ๊ฐ์ธ์ฃผ๋ ํด๊ฒฐ๋จ. ์ฐธ๊ณ : https://itprogramming119.tistory.com/entry/Uncaught-Error-useRoutes-may-be-used-only-in-the-context-of-a-Router-component-%ED%95%B4%EA%B2%B0-%EB%B0%A9%EB%B2%95

๋ ๊ฐ์ REST API๋ฅผ ๊ฐ์ง๊ณ ์๋ก ์์ฒญ์ ์ฃผ๊ณ ๋ฐ๊ธฐ ์ํด RestTemplate์ ์ฌ์ฉํ๋ ์ค ๋ฐ์ํ ์๋ฌ์ ๋๋ค. ์์ธ HTTPS๋ฅผ ํตํด HTTP ํฌํธ์ ์ก์ธ์คํ๊ธฐ ๋๋ฌธ์ด๋ค. ํด๊ฒฐ ํด๋น ๋ถ๋ถ์ http๋ก ์์ ํ์ฌ ์์ฒญ์ ๋ณด๋ด๊ธฐ ์ฐธ๊ณ : https://wildeveloperetrain.tistory.com/64
To fix the dependency tree, try following the steps below in the exact order: Delete package-lock.json (not package.json!) and/or yarn.lock in your project folder. Delete node_modules in your project folder. Remove "webpack" from dependencies and/or devDependencies in the package.json file in your project folder. Run npm install or yarn, depending on the package manager you use. In most cases, t..