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
galex
04/22/2019, 4:25 PM
You probably need to add its npm dependency
galex
04/22/2019, 4:25 PM
I use react with Gradle so the setting is a little different
galex
04/22/2019, 4:26 PM
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
Benjamin Charais
04/23/2019, 10:12 PM
Oh so the literal react router dom on top of the jetbrains wrapper?
g
galex
04/24/2019, 10:24 AM
The ‘wrappers’ are not the library itself, they are the js externals only, so yes you still need the library itself in npm
b
Benjamin Charais
04/24/2019, 3:35 PM
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.