Index page changed from .html to php causes issue on SPA

Not a bug per sé, but something that could be improved.

I changed my SPA site homepage from index.html to index.php to add page secure.

Now I am notified that the index.html page is not available any more when adding any new componant which means adding components to the content pages does not automatically add the js and css files to the header.

I do add the component to the index page as work around, but auto update of the main page name would be good if someone should change it.

Reload the routes and also manually check the commented ‘includes’ text on each content page.
I guess you’ll see what needs to be fixed.

Renaming is tricky to handle in SPA.
It’d be great if that could be built. In wappler - I agree.

Awesome! Thanks @nshkrsh!

1 Like