mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-15 02:14:44 +00:00
docs: add links to short videos from daniel (#29185)
This commit is contained in:
parent
3d547ea987
commit
d02e498969
@ -64,6 +64,10 @@ By default, the workload gets distributed to the workers with the round robin st
|
||||
|
||||
:read-more{to="https://nitro.unjs.io/deploy/node" title="the Nitro documentation for node-server preset"}
|
||||
|
||||
::tip{icon="i-ph-video" to="https://www.youtube.com/watch?v=0x1H6K5yOfs" target="\_blank"}
|
||||
Watch Daniel Roe's short video on the topic.
|
||||
::
|
||||
|
||||
## Static Hosting
|
||||
|
||||
There are two ways to deploy a Nuxt application to any static hosting services:
|
||||
|
@ -82,6 +82,10 @@ const MyButton = resolveComponent('MyButton')
|
||||
If you are using `resolveComponent` to handle dynamic components, make sure not to insert anything but the name of the component, which must be a string and not a variable.
|
||||
::
|
||||
|
||||
::tip{icon="i-ph-video" to="https://www.youtube.com/watch?v=4kq8E5IUM2U" target="\_blank"}
|
||||
Watch Daniel Roe's short video about `resolveComponent`.
|
||||
::
|
||||
|
||||
Alternatively, though not recommended, you can register all your components globally, which will create async chunks for all your components and make them available throughout your application.
|
||||
|
||||
```diff
|
||||
|
Loading…
Reference in New Issue
Block a user