You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Or, for the more advanced component syntax with options:
26
+
または、オプション付きのさらに高度なコンポーネント構文として:
27
27
28
28
```js
29
29
constasyncPage= {
@@ -35,19 +35,19 @@ const asyncPage = {
35
35
}
36
36
```
37
37
38
-
## 3.x Syntax
38
+
## 3.x での構文
39
39
40
-
Now, in Vue 3, since functional components are defined as pure functions, async components definitions need to be explicitly defined by wrapping it in a new `defineAsyncComponent`helper:
Another change that has been made from 2.x is that the `component`option is now renamed to `loader`in order to accurately communicate that a component definition cannot be provided directly.
0 commit comments