When coding web applications we sometimes come to the point when we need to perform some action during user’s navigation. One of the most common examples would be authorization and checking whether the user has appropriate roles. Fortunately, Aurelia provides an access to route pipeline so it’s super easy to add some extra steps Let’s get to work!  Inspecting RouterConfiguration In order to add our custom pipeline steps, we need to create some routing for the application. I won’t describe the whole pr...

Źródło: foreverframe.pl
Dziel się z innymi:
[EN] Exploring Aurelia's route pipelines - Forever F[r]ame

Web 2921 dni, 10 minut temu dpawlukiewicz 46 pokaż kod licznika zwiń

Wczytywanie artykułów...