Skip to content

Commit 15d6ab9

Browse files
committed
docs(readme): update readme and fix errors
1 parent aa030bb commit 15d6ab9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const routes = [
7373
{
7474
path: '/profile',
7575
component: ProfileView,
76-
/* You can also attach a multiple middlewares to a route */
76+
/* You can also attach multiple middlewares to a route */
7777
meta: {
7878
middleware: [AuthExampleMiddleware, AnotherMiddleware]
7979
}
@@ -82,9 +82,7 @@ const routes = [
8282

8383
```
8484

85-
**Note:** In the above example,
86-
87-
If the user tries to access `/profile` route, the attached middlewares will be resolved synchronously in order. i.e. `AuthExampleMiddleware` will be resolved first and `AnotherMiddleware` afterward.
85+
If the user tries to access `/profile` route, the attached middlewares will be resolved in a synchronous order. i.e. `AuthExampleMiddleware` will be resolved first and `AnotherMiddleware` afterwards.
8886

8987
## Contributing
9088

0 commit comments

Comments
 (0)