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