Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
Does Onsen UI no longer support using multiple html files as pages?
-
A few months ago I was still able to use it, but now I can’t
More precisely when I want to move or navigate from index html file to another html file, the page doesn’t respond at allIs there a way to solve the issue?
Btw, I’m using angularjs
So, I use this script to navigate from one page to anothermyNav.pushPage('page2.html')
-
It does still support this but if you are using WkWebView, there may be a problem with using it.
The solution is here: https://github.com/OnsenUI/OnsenUI/issues/2629#issuecomment-732533174
-
@emccorson I’m not sure am I using WkWebView on my device or not, but it’s not working on my laptop browser.
And about the solution link, I was just read it, but that is for iOS. How about android? Cuz I’m using android
-
In that case, can you recreate the problem here and link it?
https://onsen.io/playground/WKWebView is just for iOS. I assumed that was the problem since that was a common problem with using multiple files recently.
-
@emccorson Is it possible to save the file on the playground?
-
I don’t really get it, but it’s work again now, even though I didn’t make any changes
I hope this issue will not come again
anw, I really appreciate the effort that you have put into helping me
Thank you @emccorson
-
Glad it’s working now.
By the way, you can save from the playground by clicking the Export to Codepen button (or if it’s to report an Onsen UI bug, click Report an Issue).
-
@emccorson it’s not working again, even though I opened the same file as yesterday