Bootstrap mobile routing - loading home page bug

For mobile bootstrap routing - I have setup a new page called “home”. I changed routing as per instructions and changed path to / in order to load index.html as default upon page load.

When I type in url http://localhost:52660/ it says: File /Users/david/Desktop/mobiletest/www/ not found.

Mobile routing uses hash routing so it all starts from your index.html page.

So you always open the index.html page first - this is also done when pressing F12 to open the page in the browser.

The build-in web server, doesn’t handle any default pages.

So just open the index.html and the routing starts from there, just as on the mobile.

Thank you. It was a bit confusing why the docs suggest changing another “home” page routing to / as it says it will be the new loading page. But now as I understand it better - the purpose of changing the home page route is to load the CONTENT of that home page in the index.html page - not loading a new index page all together. Hope this can create clarity for other users

1 Like