From 5ad486473eb7f5bbcdbc721b13b1373bc3a8f6df Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Wed, 20 Apr 2022 15:51:50 +0200 Subject: [PATCH] docs: add example about props Close #1375 Close #1361 --- docs/api/index.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/api/index.md b/docs/api/index.md index 29b3a19d1..38e94a661 100644 --- a/docs/api/index.md +++ b/docs/api/index.md @@ -188,6 +188,14 @@ If you add a `target="_blank"` to your `a` element, you must omit the `@click="n - `Component`: VNodes to be passed to a ``'s `is` prop. - `route`: resolved normalized [route location](#routelocationnormalized). +Note you should be passing View components' props directly to the `` rather than the ``: + +```html + + + +``` + ## createRouter Creates a Router instance that can be used by a Vue app. Check the [`RouterOptions`](#routeroptions) for a list of all the properties that can be passed.