export default function App({ Component, pageProps }) {
        // Use the layout defined at the page level, if available
        const getLayout = Component.getLayout || ((page) => page)
      	
        
        return getLayout(<Component {...pageProps} />)
      }

      Javascript language logoNext app with layout

      next
      app
      layout
      NextJS Javascript Recipes

      Creates an example _app.jsx with per-page layout capabilities

      Shortcut: next.app.layout.create

      Filename pattern: *_app.jsx

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.