angular-ui / ui-router

The de-facto solution to flexible routing with nested views in AngularJS
http://ui-router.github.io/
MIT License
13.54k stars 3k forks source link

$stateProvider.state('/',{url: '',templateUrl: ''}) Unable to access page #3505

Closed lliukui closed 4 years ago

lliukui commented 7 years ago

when i want to remove # in url, i use $locationProvider.html5Mode(true) to resolved but $stateProvider.state('/',{url: '',templateUrl: ''}) Unable to access page

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

This does not mean that the issue is invalid. Valid issues may be reopened.

Thank you for your contributions.