250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- CLASS
- evm
- Redux
- useState
- Props
- hardhat
- node.js
- built in object
- Ethereum
- web
- nextJS
- express.js
- REACT
- Interface
- error
- concept
- 기준
- typeScript
- solidity
- API
- JavaScript
- CSS
- graphQL
- 삶
- SSR
- tailwindcss
- middleware
- blockchain
- bitcoin
- HTML
Archives
- Today
- Total
목록nested layout (1)
ReasonJun
Next.js : Apply common layout
components/Layout.js Create a common component separately as a layout.js file in the component folder and apply it to pages/_app.js. pages/_app.js => Setting overall position in Component. import '@/styles/globals.css'; import Layout from '@/components/Layout'; export default function App({ Component, pageProps }) { const getLayout = Component.getLayout || ((page) => {page}); return getLayout();..
Frontend/Next.js
2023. 6. 18. 12:51