next.js/test/development/basic/emotion-swc/fixture/pages/_app.js
_app.js16 lines351 B
import createCache from '@emotion/cache'
import { CacheProvider } from '@emotion/react'

import { globalStyles } from '../shared/styles'

const cache = createCache({ key: 'next' })

const App = ({ Component, pageProps }) => (
  <CacheProvider value={cache}>
    {globalStyles}
    <Component {...pageProps} />
  </CacheProvider>
)

export default App
Quest for Codev2.0.0
/
SIGN IN