@rainbow-me/rainbowkit/styles.css not found #372
Replies: 3 comments 2 replies
-
@git-austinmccollom we've added a few codesandbox examples here if it's helpful for debugging or checking the differences between yours and these: https://github.com/rainbow-me/rainbowkit#try-it-out Any chance you could put together a minimal reproducible example for us to look at? |
Beta Was this translation helpful? Give feedback.
-
Thank you for helping. I was able to get styles to work by importing the actual file path instead of the alias. Seems the alias wasn't working. Imported this to my index.js: Thought to try this after reading this in the package.json for the @rainbow-me node module: "exports": { |
Beta Was this translation helpful? Give feedback.
-
I'm having the same issue (the above solution works for me as well) I Couldn't reproduce it on code sandbox, even with the same dependencies. Here a basic cra app where this happens |
Beta Was this translation helpful? Give feedback.
-
RainbowKit version: 0.1.0
wagmi version: 0.3.5
I am installing RainbowKit in my React app following https://www.rainbowkit.com/docs/installation. I am able to use the ConnectButton to connect my wallet to my app. Everything functions as expected, but without styles. Then, as soon as I include
import '@rainbow-me/rainbowkit/styles.css';
, I get the following error:I am setting up the provider, connectors, and client in the index.js:
Does anyone see what I'm doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions