Questions tagged [ember.js-fastboot]

FastBoot brings server-side rendering to Ember.js applications. By performing initial renders on the server, your Ember app is accessible to search engines, curl, and other scrapers. Users see content faster, and can view your app even if they have JavaScript disabled or the JavaScript files fail to load.

How It Works

FastBoot works by creating a Node.js process and executing your Ember application within it.

Most Ember applications should work out of the box. However, there are some patterns that you should be sure to follow to guarantee that your application is fully FastBoot compatible. See Tips and Tricks from the below link for a full list.

README

6 questions
4
votes
0 answers

How to figure out why error happen during running app in ember fastboot

I'm trying to integrate third-party npm library (editorjs like npm package npm i @editorjs/editorjs --save-dev) to ember application with auto loading "ember-auto-import": "^1.5.3", Everything works fine without fastboot, but under fastboot…
user1156168
  • 936
  • 13
  • 32
1
vote
1 answer

Ember Fastboot redirect to external URL

I'm looking to 301 redirect to an external URL from within an Ember Route in Fastboot (based on the data returned by model()). A solution, would be to access Express.js response object from within Ember, so I can call something…
Sbbs
  • 1,610
  • 3
  • 22
  • 34
1
vote
1 answer

Can I map/redirect routes to ports in the Ember FastBoot App Server?

I would like to map specific ports to certain routes on Ember FastBoot App Server so that I don't need a different url for different services. Intended for production, I can not use development-only flags. Example www.example.com:443 Ember FastBoot…
Redsandro
  • 11,060
  • 13
  • 76
  • 106
1
vote
1 answer

Models in ember-fastboot loaded twice

An ember-cli app loads a random model on a certain page. This works as expected. Now that I enabled ember-fastboot server-side rendering, the model is loaded client-side. Upon rehydration, ember.js loads a random model again, client-side. This…
Redsandro
  • 11,060
  • 13
  • 76
  • 106
1
vote
0 answers

How to properly dockerize Ember.js FastBoot

Deploying a dockerized Ember.js app stack can be done with three or four containers. For https it's easiest to proxy over a specialized container that handles vhosts and ssl certificates. Internet │ …
Redsandro
  • 11,060
  • 13
  • 76
  • 106
0
votes
1 answer

Ember Fastboot is not working with the post request

while Accessing website in browser , i am seeing the below error.. Api is working in the browser as well as in postman but Ember fastboot is not working ... Any help should be really helpful. FetchError: request to…