-
import { CssBaseline, GeistProvider } from '@geist-ui/react'
import Footer from '../component/Footer'
import '../styles/globals.css'
import 'tailwindcss/tailwind.css'
function MyApp({ Component, pageProps }) {
return (
<GeistProvider>
<CssBaseline />
<Component {...pageProps} />
<Footer />
</GeistProvider>
)
}
export default MyApp Why does 请问在 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
这是因为 解决方案
|
Beta Was this translation helpful? Give feedback.
-
The reason for this issue is that the styles generated by Solutions (choose one of them)
|
Beta Was this translation helpful? Give feedback.
The reason for this issue is that the styles generated by
CssBaseline
are appended to thehead
asstyle
tags (<style> ... </style>
), if your Global Styles generateslink
tags after bundle, then your Global Styles priority will be lower than theCssBaseline
.Solutions (choose one of them)
styled-jsx
(always preferentially introduced using tags):