If anyone is interested, here is an example fullst...
# micronaut
r
If anyone is interested, here is an example fullstack Micronaut 2.0.1 project, with Kotlin Gradle DSL, JVM and JS targets, working Kapt processing and hot reload in dev mode: https://github.com/rjaros/kvision-examples/blob/master/template-fullstack-micronaut/
👍 7
d
Just wondering, after having looked at a bunch of possibilities, could kvision be used to create a React-first app, just using kvision for the api requests and micronaut integration? Does this make sense, or maybe I'm misunderstanding kvision?
I just browsed through the react docs, but it seems that only individual components are being used there, with a kvision-first approach.
r
Generally you can use KVision Micronaut integration without KVision. See: https://kvision.gitbook.io/kvision-guide/part-3-server-side-interface/external-usage
You could probably also wrap the whole Kotlin-React application inside KVision, but it would be just wasting resources 🙂
d
Thanks! I'll take a look at the external usage option.
r
The example app of external usage is for Ktor and doesn't use KVision compiler plugin. Unfortunately I don't have anything better.
But if you have any questions feel free to ask
👍🏼 1