Pass data (prop) from _app.js to getServerSideProps in a page - NextJS, latest version

前端 未结 0 822
别跟我提以往
别跟我提以往 2021-01-15 22:33

I have a custom _app.js:

  const Layout = ({ children }) => (children);

  const app = ({ Component, pageProps }) => {

    pageProps.baseU         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题