jeudi 22 septembre 2022

Ember 4.6 Deployment problem -- router not routing

I'm doing my first deployment of an Ember app. I've managed to get the compiled app to load the main page with my navbar, but none of the links (which use the LinkTo builtin component) work.

I thought this might be an Apache problem so I wrote an .htaccess file to redirect all requests to the index.html file. With that, when I directly enter, for example:

http://localhost/myApp/user (user is a route)

I get the user index page. But none of the links on that page work either.

Ember Inspector shows that all of the routes appear to be available but I can't seem to access them using LinkTo.

Thanks for any help!




Aucun commentaire:

Enregistrer un commentaire