lundi 16 mars 2020

How to deploy Ember CLI fastboot app for production?

I prepared an ember-cli project that gets api from express server. Then I added fastboot to using the command:

ember install ember-cli-fastboot

After that, all the links began to be rendered on the server. Tell me, how do I run this in production? If I run ember build and load the project from the dist folder (via express route), the application opens like a usual SPA, and the child pages do not reload, and are not accessible for curl. That is, it behaves like a usual SPA. Please tell me how to run it? Should I run it in production as it is, withowt build, i.e. from ember-cli folder, using ember serve? Thanks for any help.




Aucun commentaire:

Enregistrer un commentaire