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