Answers for "navigate url reload angular"

0

navigate to route and refresh angular 6

this.router.navigate(['path/to'])
  .then(() => {
    window.location.reload();
  });
Posted by: Guest on April-29-2020
0

url refreshing issue angular 8

<IfModule mod_rewrite.c>
    RewriteEngine on

    # Don't rewrite files or directories
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]

    # Rewrite everything else to index.html
    # to allow html5 state links
    RewriteRule ^ index.html [L]
</IfModule>
Posted by: Guest on March-17-2021

Code answers related to "navigate url reload angular"

Code answers related to "Javascript"

Browse Popular Code Answers by Language