Handling Global CSS warning

Once you have exported the code and you visit localhost:3000, a warning may be displayed in the output window, prompting you to import the global styles. You can resolve it by following the below steps:

  • Resolve this by adding the following import in your globals.css file:

@import './jsx-design/globals.css';

If there is an existing globals.css file in your project, you may need to comment out or replace it with the current import to avoid conflicts.


Last updated