Skip to content

Commit

Permalink
docs: Router-Example typo fix. (#1481)
Browse files Browse the repository at this point in the history
Docs-API: Links with typos. `(#addroute-2)` → `(#addroute)`
Router-Ex: Works fine, but typo in alpha value in css color. `rgb` → `rgba`
  • Loading branch information
niceplugin committed Jul 22, 2022
1 parent 583e77d commit de65a3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/docs/api/index.md
Expand Up @@ -788,7 +788,7 @@ stringifyQuery?: (

## RouteRecordRaw

Route record that can be provided by the user when adding routes via the [`routes` option](#routeroptions) or via [`router.addRoute()`](#addroute-2). There are three different kind of route records:
Route record that can be provided by the user when adding routes via the [`routes` option](#routeroptions) or via [`router.addRoute()`](#addroute). There are three different kind of route records:

- Single views records: have a `component` option
- Multiple views records ([named views](../guide/essentials/named-views.md)): have a `components` option
Expand Down
2 changes: 1 addition & 1 deletion packages/router/e2e/modal/index.html
Expand Up @@ -16,7 +16,7 @@
border: none;
margin: 0;
padding: 0;
background-color: rgb(0, 0, 0, 0.5);
background-color: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
Expand Down

0 comments on commit de65a3f

Please sign in to comment.