App reviews, troubleshooting, and recommendations
I am trying to import react big calendar in my shopify app in remix. When i try to import it and run, the import does not seem to work.
I have tried adding rules in the config file, changing the css directory and even putting it in public.
Does anyone know how to import css in the remix template?
To add a custom CSS file in Remix, you first need to create a file in the /app/styles/ directory.
For example, you could create a file called setup.css.
Once you have created your CSS file, you need to add it to the links export of one of your Remix routes.
For example, you could add it to the links export of your app._index.jsx file.
import stylesUrl from "~/styles/setup.css";
export const links = () => {
return [{ rel: "stylesheet", href: stylesUrl }];
};
it worked!
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023