Hi..I need a help. I am creating a front end web a...
# javascript
a
Hi..I need a help. I am creating a front end web app using Kotlin. I have checked this link of raywenderlich given below: raywenderlich.com/201669-web-app-with-kotlin-js-getting-started I have already followed this and created a single page web app. But when I am going to create another page within that project. Then it's not working properly. One more thing, I can't understand from the above link is that, how the mapping is going on with HTML and Kotlin file. Please help me.. Thanks in advance..
i
Hello, basically javascript framework (react for example) can do routing for you in single web application Another option for single page application, you can investigate address parameters and provide routing logic manually Otherwise, in case of multi-page application, you should control it on your own with separate HTML + JS file for each page (but you can share some logic in common javascript files)