Hi.
Please Advice
local HTML not working with the local route and not loading loadContent HTML FILE
Not WORKING
path: ‘/signin/’,
url: ‘signin.html’,
or
path: ‘/signin/’,
url: ‘file://signin.html’,
but working only with outside html file
WORKING
path: ‘/signin/’,
url: ‘https://3.3.3.3/pages/signin.html ’,
and also redirect is working:
window.location.href = “file://pages/signin.html”;
but routes not working
tnx
Not enough information, what is it, Cordova, capacitor, custom web view, etc. See this post:
Has this question been asked before?
Before you post a question, take some time and search the forum first. Chances are, someone else has already asked something similar. If they haven’t received an answer, it’s a great chance to figure out the issue. If the question has been answered, then hooray!
What not to ask
Never ask someone to do your job or assignment. We’re a welcoming community over here, but we expect some effort on your part.
One question per post
Asking multiple question per post…
Hi tnx for repply
i have looked on all forums and didn’t find anything
Its WebviewGold: https://www.webviewgold.com/
I also faced such a problem. I solved the problem by creating localhost.
I can run the project using localhost, but when file:///…/index.htm is formatted, it doesn’t load.
Tests
Route
{
path: "/",
content: '<div class="page">Hello</div>'
}
Web Server
http://localhost:8080
Works.
Local
file:///directory/index.html
It doesn’t work.
Hi tnx for reply
Please Advice how did you do http://localhost:8080 on code ios?
Unfortunately I’m not sure how to do this on IOS.