Join Slack
Communities
Powered by
Having looked through some more examples, am I cor...
# kvision
s
Samkeene
01/09/2022, 11:43 PM
Having looked through some more examples, am I correct in stating that KVision is used for creating single page applications, and is used with JS-Routing to create the impression of a multi-paged website with the tabPanel and stackPanel?
r
Robert Jaros
01/10/2022, 5:35 AM
Yes. You are correct. But TabPanel and StackPanel are not the only way to work with js-routing. These components just give you some very simple integration. It's very limited and I personally have never used this in any real application. I always configure routing directly with a code similar to this:
https://github.com/rjaros/kvision-realworld-example-app/blob/master/src/main/kotlin/io/realworld/Routing.kt
s
Samkeene
01/10/2022, 4:53 PM
This example is really helpful, thanks!
2
Views
Open in Slack
Previous
Next