You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I assume you are using 2.0-develop in your project since you mentioned vitejs. You can see that in the reactapp/src/main.jsx file (this is entry point compoent), we have a css import there. In ViteJs, an import like that should work without any problem.
You can also try to use the src/index.css file which is already imported via main.jsx file. You can use @import commands there as you see examples of tailwindcss imports.
Hi,
I'm trying to import styling from another npm package (https://www.npmjs.com/package/react-flatpickr#installation) but it doesn't seem to work.
import "flatpickr/dist/themes/material_green.css";
Something I am missing in the vite build?
EDIT:
I can inject the css with js, not sure if this is the right approach
The text was updated successfully, but these errors were encountered: