-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export styles as CSS so the package could be used in non-tailwind projects #26
Comments
Hi @jakeprins I am trying to use react-vault in a SPA react application using MUI. Best |
Hey @michael-pont, Are you using the latest version of React Vault? I believe the exported CSS should now be scoped (apideck-libraries/vault-core@2a889d5) If you have the latest version installed and it's still causing issues let me know so I will investigate it. Maybe it's styling from the component library that should also be scoped. |
Yes I am using version 0.2.10.
I believe for my particular setup css modules could work as a solution where I target the class name of the vault component. |
I see. What's anooying is that the preflight styles and styles coming from the These are however very basic styles and should always be easily overwritten. Are you sure your styles are being loaded after the React Vault styles? Sinces their is no class or anything on them it should always be overwritten by your application styles. I published a new version (0.2.11). Could you try installing that one and importing the |
Hi Jake, Thanks for your help. I will try it out. |
No description provided.
The text was updated successfully, but these errors were encountered: