Add two different index.html in angular.cli.json

57 Views Asked by At

I have to add two index.html for prod and dev, I'm using angular5 project need to add under angular.cli.json

where and how to add them?

I have tried with configuration but this says above version 6

1

There are 1 best solutions below

1
On

There is a separate section where you can configure this.

angular documentation for inputs

input - The path of a file to use for the application's generated HTML index.

Here are additional resources for you to refer.

  1. resource 1 Answer from frido