'Next js - styles not update after save
I have globals.css in my project
some styles...
_app.tsx
import "../styles/globals.css";
import type { AppProps } from "next/app";
function MyApp({ Component, pageProps }: AppProps) {
return (
<Component {...pageProps} />
);
}
export default MyApp;
After updating the styles in globals.css, I've found that the styles do not apply.
I have to restart the application to make it work.
How can I fix that?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
