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