Replies: 1 comment 1 reply
-
I have the same issue, although only when using dynamic imports eg. My only fix is to declare a types file // swiper.d.ts
declare module 'swiper/css' {}
declare module 'swiper/css/pagination' {}
declare module 'swiper/css/autoplay' {}
declare module 'swiper/css/effect-fade' {}
declare module 'swiper/css/navigation' {}
// Any other styles you need... |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using Remix and in order to import css files in remix you must do it like this:
Does anyone else have a way to handle this without doing
@ts-expect-error
to ignore the error?Beta Was this translation helpful? Give feedback.
All reactions