dart-lang / dart-lang/webdev

Path Location Strategy possible ?

Open
#758 3 comments 1 reaction 0 assignees View on GitHub
package:dwds
Dominant language
Dart
Stars
224
Forks
94
Avg merge
7h 14m
Merged PRs (30d)
2

Description

* Dart SDK Version : 2.5.0
* AngularDart Version : 5.3.0
* Whether you are using Windows, macOS, or Linux : macOS
* Whether you are using Chrome, Safari, Firefox, Edge (if applicable) : All browsers
* Auth0

Hello everyone, I am trying to use PathLocationStrategy (RouterProvider) in development, as I am using Auth0 for auth and the implicit flow does not work with hash urls.
I have read that [webdev does not support deep linking](https://angulardart.dev/guide/router/1#which-location-strategy-to-use) and also that [it is recommended to pick an adequate strategy early on](https://angulardart.dev/guide/router/appendices#which-strategy-is-best).
I can build the app with `webdev build` and have it working as expected, however this is a terrible workflow.

Is there any way I can run the Angular Dart in development while using PathLocationStrategy ?

Many thanks.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the documented RouterProvider and PathLocationStrategy guidance, then compare the development workflow with the mentioned webdev build behavior. Done means establishing whether AngularDart development can support PathLocationStrategy and documenting or implementing the supported workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, dart
Domain
cli, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.