Deployment
Last updated
Was this helpful?
Last updated
Was this helpful?
Once you have your application working and ready to be deployed you can create a production version by running (from the root of your project)
This command will containing both your (isomorphic) React app and your Frontity (Node.js) server. This folder can be deployed to any hosting that is prepared to serve a Node.js app. The content of this build
folder will be used by the command:
Which is used to launch the Frontity app in production.
Here you have some guides about how to deploy a Frontity app in some popular hostings:
Sometimes you will want to serve your assets (also called "static files" like images, fonts, JS chunk files) from another domain or from a . In this case, you can modify the when you run npx frontity build
.