Hey Michal, there is another explanation why this isn’t working for you (at least in the empress-blog situation).
When you follow the readme for empress-blog it tells you to “ember install empress-blog”, this may seem like it’s the same as “npm install” but it actually does extra work to install ember-cli-fastboot and prember. With these all working together you should have no page on your site that isn’t pre-rendered.
There are other benefits but it avoids the need for the redirect anyway 😂
That might be the issue indeed. So if I do that then the /dist build will contain a statically built HTML file for every article? Otherwise this would IMO not work with static hosting.
Yes! empress-blog and prember manage all this for you, you just need to make sure you have the right stuff installed 👍 empress-blog (and all Empress projects) are specifically designed to work awesomely with static hosting
Purrrfect. Updated. Thank you! 🙇🏻 I'm not sure where did my mistake came from because I stumbled on it in quite few independent projects and I'm too lazy to type out the commands, so I'm somewhat sure I used ember install ... 🤷🏻
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey Michal, there is another explanation why this isn’t working for you (at least in the empress-blog situation).
When you follow the readme for empress-blog it tells you to “ember install empress-blog”, this may seem like it’s the same as “npm install” but it actually does extra work to install ember-cli-fastboot and prember. With these all working together you should have no page on your site that isn’t pre-rendered.
There are other benefits but it avoids the need for the redirect anyway 😂
That might be the issue indeed. So if I do that then the
/dist
build will contain a statically built HTML file for every article? Otherwise this would IMO not work with static hosting.Yes! empress-blog and prember manage all this for you, you just need to make sure you have the right stuff installed 👍 empress-blog (and all Empress projects) are specifically designed to work awesomely with static hosting
Purrrfect. Updated. Thank you! 🙇🏻 I'm not sure where did my mistake came from because I stumbled on it in quite few independent projects and I'm too lazy to type out the commands, so I'm somewhat sure I used
ember install ...
🤷🏻