]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs: Router-Example typo fix. (#1481)
authorNiceHwang <niceplugin@gmail.com>
Fri, 22 Jul 2022 07:23:40 +0000 (16:23 +0900)
committerGitHub <noreply@github.com>
Fri, 22 Jul 2022 07:23:40 +0000 (09:23 +0200)
Docs-API: Links with typos. `(#addroute-2)` → `(#addroute)`
Router-Ex: Works fine, but typo in alpha value in css color. `rgb` → `rgba`

packages/docs/api/index.md
packages/router/e2e/modal/index.html

index 08f506dca117e5053dbb09688ba35f375dc35246..2331a520e213c85add0851fcc923c08061bb5a6e 100644 (file)
@@ -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
index fe0bfeff09a48a7ca876b94586cece539e490ead..7e443a4dde8d36e07085423930ded1e36e5ff283 100644 (file)
@@ -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;