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
- HTML
- Ethereum
- CLASS
- SSR
- web
- useState
- express.js
- graphQL
- solidity
- Redux
- hardhat
- nextJS
- 기준
- CSS
- Props
- 삶
- API
- JavaScript
- bitcoin
- error
- evm
- Interface
- concept
- typeScript
- tailwindcss
- REACT
- node.js
- blockchain
- built in object
- middleware
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