docs(ssr): fix tip Note block render (#5984)

This commit is contained in:
云游君 2021-12-07 17:23:59 +08:00 committed by GitHub
parent 8d9b3939b0
commit dc0845c582
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -251,7 +251,7 @@ export function mySSRPlugin() {
The options object in `load` and `transform` is optional, rollup is not currently using this object but may extend these hooks with additional metadata in the future.
::: tip Note
:::tip Note
Before Vite 2.7, this was informed to plugin hooks with a positional `ssr` param instead of using the `options` object. All major frameworks and plugins are updated but you may find outdated posts using the previous API.
:::