February 9, 2018
Angular CLI: Add Sitemap.xml and Robots.txt File
As a developer you may get the task adding a Sitemap and a robot.txt to your Angular project. This is quite easy if it is being built with Angular CLI. Copy the files next to the favicon.ico into the /src folder of your Angular project.
1 2 3 4 |
├── src │ ├── sitemap.xml │ ├── favicon.ico │ ├── robots.txt |
Now open up the
angular.json file in the […]
READ MORE