rsnext/test/integration/serverless-runtime-configs/pages/_app.js

11 lines
210 B
JavaScript
Raw Normal View History

import getConfig from 'next/config'
const config = getConfig()
export default ({ Component, pageProps }) => (
<>
<p id="app-config">{JSON.stringify(config)}</p>
<Component {...pageProps} />
</>
)