My problem is that when I navigate to a route, the contents of that route do not show on the page. I get a completely blank page. If I open dev tools and inspect the page, everything seems to be all there, but with a html tag at the top with visibility of hidden:
If I uncheck that style, the contents show, but everything is disabled.
Any idea what could be wrong?
Thanks, Dan
Probably hosted on IIS. That is most likely where the problem lies, the article produces a .htaccess-file for the routing while IIS requires web.config. Hopefully I am wrong. @Teodor will be able to inform you better.
Can it be that the page that you load also has the dmxAppConnect.js include, this often happens when the app connect javascript is loaded twice. The content page you load on the spa should not contain scripts, just a partial html.
Yes! That was the problem! That thought had crossed my mind over the weekend too. I had defined another route and set the route to another file I had working on it’s own, so it had it’s own head tags, etc.
So, I recreated the content inside a container on my main page, then used the Move to Include File button to create the include and now it works.
Is that the right and only way to define an include? Or, can I create a new page and define it as a partial/include somehow?