Deployment

To deploy your application, you have to compile it, and then host the JavaScript, CSS, and HTML on a web server. Built Angular applications are very portable and can live in any environment or served by any technology, such as Node, Java, .NET, PHP, and many others.

Building locally

To build your application locally or for production, You need to follow Setup Project STEP 4 - Prepare Build of Your Project.

Hosting the built project

The files in the dist/ folder are static and can be hosted on any web server capable of serving files.

To host a Drift Angular app on web host, you'll need to upload or send the files to the host. Because you are building a Single Page Application, you'll also need to make sure you redirect any invalid URLs to your index.html file.

For more details to deploy an Angular app go to Deployment.

Last updated