docs: add line-breaks to tips in Module Author Guide (#28587)

This commit is contained in:
Vasily Kuzin 2024-08-19 14:24:30 +03:00 committed by GitHub
parent b6d33506ab
commit 70c4efb55a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -228,9 +228,9 @@ Learn more about asset injection in [the recipes section](#recipes).
::warning ::warning
Published modules cannot leverage auto-imports for assets within their runtime directory. Instead, they have to import them explicitly from `#imports` or alike. Published modules cannot leverage auto-imports for assets within their runtime directory. Instead, they have to import them explicitly from `#imports` or alike.
:br :br
Indeed, auto-imports are not enabled for files within `node_modules` (the location where a published module will eventually live) for performance reasons. Indeed, auto-imports are not enabled for files within `node_modules` (the location where a published module will eventually live) for performance reasons.
:br :br
If you are using the module starter, auto-imports will not be enabled in your playground either. If you are using the module starter, auto-imports will not be enabled in your playground either.
:: ::
@ -638,7 +638,7 @@ Testing helps ensuring your module works as expected given various setup. Find i
::tip ::tip
We're still discussing and exploring how to ease unit and integration testing on Nuxt Modules. We're still discussing and exploring how to ease unit and integration testing on Nuxt Modules.
:br :br
[Check out this RFC to join the conversation](https://github.com/nuxt/nuxt/discussions/18399). [Check out this RFC to join the conversation](https://github.com/nuxt/nuxt/discussions/18399).
:: ::