Answers for "angular router navigate base href"

0

angular router navigate base href

providers: [
    {
        provide: APP_BASE_HREF,
        useValue: '/' + (window.location.pathname.split('/')[1] || '')
    }
]
Posted by: Guest on September-10-2020
0

angular router navigate base href

import { APP_BASE_HREF } from '@angular/common';
Posted by: Guest on September-10-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language