option to disable redirection of /index.html#/routes to /#/routes [comp: router]
See original GitHub issueš feature request
Relevant Package
This feature request is for @angular/router
Description
the latter is nicer, but all browsers canāt reload an extension page with a <browser-extension-scheme>://<extension_GUID>/#/route
URL, they error out, I was certainly surprised that setting an extensionās html pages location in manifest.json to āindex.html#routeā loads the page to the correct route with no issues.
I searched for docs to confirm if (already) it can be configured and how, but found nothing.
Describe the solution youād like
add a config option e.g ādisablePageNameShorteningā (iām sure youāre better than me at naming), similar to the āuseHashā option.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Angular Router: Child Routes, Auxiliary Routes, Master Detail
This is a comprehensive guide to the fundamental concepts of the Angular Router: routes, paths, components, outlets.
Read more >How to use Redirect in version 5 of react-router-dom of Reactjs
In that public folder I created the same folder name as the virtual routing. In this folder, I have an index.html with the...
Read more >Route - Angular
A set of routes are collected in a Routes array to define a Router configuration. The router attempts to match segments of a...
Read more >A Complete Beginner's Guide to React Router (Including ...
Setting up the router; Rendering routes; Using Links to switch pages; Passing Route parameters; Navigating programmatically; Redirecting toĀ ...
Read more >How To Navigate Between Views with Vue Router
You will also learn the different types of routes available to you as a ... that you did not select the Vue Router...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
can you please assist me in finding what part of the code base of the router module is responsible for this behavior so I can disable it (in a fork) for a temporary fix? I would really appreciate it, a lot.Edit: base-href seems to solve my issue, if I set it with the Angular-cli to
./<the-base-name-of-my-index-html>
(./index.html
), manually. should there be a router configuration option that does this automatically (set base-href (APP_BASE_HREF
) to the html fileās base name)?This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.