Skip to content

Commit 4896b90

Browse files
authored
fix(0040-script-setup): fixed incorrect indentations (#372)
1 parent 4ba1d4f commit 4896b90

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

active-rfcs/0040-script-setup.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -444,11 +444,11 @@ Vue 3 SFCs automatically infers the component's name from the component's **file
444444
- DevTools inspection
445445
- Recursive self-reference. E.g. a file named `FooBar.vue` can refer to itself as `<FooBar/>` in its template.
446446

447-
This has lower priority than explicity registered/imported components. If you have a named import that conflicts with the component's inferred name, you can alias it:
447+
This has lower priority than explicity registered/imported components. If you have a named import that conflicts with the component's inferred name, you can alias it:
448448

449-
```js
450-
import { FooBar as FooBarChild } from './components'
451-
```
449+
```js
450+
import { FooBar as FooBarChild } from './components'
451+
```
452452

453453
In most cases, explicit `name` declaration is not needed. The only cases where you do need it is when you need the `name` for `<keep-alive>` inclusion / exclusion or direct inspection of the component's options.
454454

0 commit comments

Comments
 (0)