I wanted to dabble around with the create-react-ko...
# react
b
I wanted to dabble around with the create-react-kotlin-app, and when I go to add in the react router, my webpack wont resolve
react-router-dom
g
You probably need to add its npm dependency
I use react with Gradle so the setting is a little different
If you can’t find where to add this, you probably need to “eject” so all the config become apparent then you’ll see where to add it
b
Oh so the literal react router dom on top of the jetbrains wrapper?
g
The ‘wrappers’ are not the library itself, they are the js externals only, so yes you still need the library itself in npm
b
I checked the dependencies of the wrapper and it contains the react-router-dom package in its dependencies, I will attempt to do a specific install of the actual package and see if that fixes it. Im also testing on mac to see if I get different results.