Skip to content

Commit fb9a0cb

Browse files
cpastore84posva
authored andcommitted
Update named-views.md (vuejs#1278)
fixed a small type
1 parent 955e5c4 commit fb9a0cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/en/essentials/named-views.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Named Views
22

3-
Sometimes you need to display multiples views at the same time instead of nesting them, e.g. creating a layout with a `sidebar` view and a `main` view. This is where named views came in handy. Instead of having one single outlet in your view, you can have multiple and give each of them a name. A `router-view` without a name will be given `default` as its name.
3+
Sometimes you need to display multiple views at the same time instead of nesting them, e.g. creating a layout with a `sidebar` view and a `main` view. This is where named views came in handy. Instead of having one single outlet in your view, you can have multiple and give each of them a name. A `router-view` without a name will be given `default` as its name.
44

55
``` html
66
<router-view class="view one"></router-view>

0 commit comments

Comments
 (0)