Exploring this <https://github.com/JetBrains/creat...
# react
g
Exploring this https://github.com/JetBrains/create-react-kotlin-app/#quick-overview , i created kotlin react app and opened it in intellij, the ide not detecting the kotlin dependencies. For example, i am not able to go to declaration for the kotlin libraries and other class files. Anyway to fix this ?
c
I’m not sure about this project but you can also create a new kotlin javascript react project with idea’s new project wizard if you have the kotlin plugin version 1.4-rc installed.
g
Thanks. I tried, it works., It looks like it is creating the gradle based kotlin+react application. The problem: We have the existing react app which has npm dependencies and typescript code. I am thinking of writing kt in that project. so the kt files will be colocating with ts files. CRKA - create npm based project, but intellij ide is not detecting and providing the ide features to improve productivity. Other side, Intellij creates the project with gradle+react code which works with ide. Though intellij kotlin plugin helps but it doesn't help me solve my original problem. Are there any guidance on this ?
c
you can create a kotlin js library, publish as npm, and depend on that from your javascript project
👍 1