/devtools
too (#42283)
The latest SW app version knows that `/devtools` should be redirected to `/guide/devtools`. However, if a user has an older app version installed (and until the SW downloads the latest version) they will get a 404 when navigating to `/devtools`. The reason is that the SW will see `/devtools` as a regular navigation URL and serve `index.html` instead. The Angular app will then try to get the content for `/devtools` by fetching `/generated/docs/devtools.json` (which does not exist). This commit fixes the issue by redirecting `/generated/docs/devtools.json` to `/geenrated/docs/guide/devtools.json`. When a user visits `/devtools` for the first time, they will still be able to see the guide content (while the SW updates in the background). On subsequent visits (once the SW has downloaded the latest app version), they will be redirected to `/guide/devtools`). At a later time, once we are confident that the majority of users will have updated to a newer app version, we can remove this temporary redirect. PR Close #42283
Angular - The modern web developer's platform.
Angular is a development platform for building mobile and desktop web applications
using Typescript/JavaScript and other languages.
Contributing Guidelines
·
Submit an Issue
·
Blog
Documentation
Get started with Angular, learn the fundamentals and explore advanced topics on our documentation website.
Advanced
Development Setup
Prerequisites
- Install Node.js which includes Node Package Manager
Setting Up a Project
Install the Angular CLI globally:
npm install -g @angular/cli
Create workspace:
ng new [PROJECT NAME]
Run the application:
cd [PROJECT NAME]
ng serve
Angular is cross-platform, fast, scalable, has incredible tooling, and is loved by millions.
Quickstart
Ecosystem
Changelog
Learn about the latest improvements.
Upgrading
Check out our upgrade guide to find out the best way to upgrade your project.
Contributing
Contributing Guidelines
Read through our contributing guidelines to learn about our submission process, coding rules and more.
Want to Help?
Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues labeled as help wanted or good first issue.
Code of Conduct
Help us keep Angular open and inclusive. Please read and follow our Code of Conduct.
Community
Join the conversation and help the community.
Love Angular? Give our repo a star ⭐ ⬆️.