-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Traduction de api.md
#20
Conversation
Signed-off-by: Bruno Lesieur <bruno.lesieur@gmail.com>
Signed-off-by: Bruno Lesieur <bruno.lesieur@gmail.com>
en/api.md
Outdated
|
||
- An absolute path to generated bundle file (`.js` or `.json`). Must start with `/` to be treated as a file path. | ||
- Un chemin absolue pour générer un fichier de paquetage (`.js` ou `.json`). Doit commencer par `/` pour être considéré comme un chemin de fichier. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Un chemin absolu
en/api.md
Outdated
|
||
## `Class: Renderer` | ||
|
||
- #### `renderer.renderToString(vm[, context], callback)` | ||
|
||
Render a Vue instance to string. The context object is optional. The callback is a typical Node.js style callback where the first argument is the error and the second argument is the rendered string. | ||
Faire le rendu d'une instance de Vue sous forme de chaîne de caractères. L'objet de contexte est optionnel. La fonction de rappel est une fonction de rappel typique de Node.js avec en premier argument l'erreur potentielle et en second argument la chaîne de caractères du rendu. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fait le rendu
en/api.md
Outdated
|
||
- #### `renderer.renderToStream(vm[, context])` | ||
|
||
Render a Vue instance to a Node.js stream. The context object is optional. See [Streaming](./streaming.md) for more details. | ||
Faire le rendu d'une instance de Vue sous forme de flux. L'objet de contexte est optionnel. Voir l'[Envoi par flux](./streaming.md) pour plus de détails. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fait le rendu
en/api.md
Outdated
|
||
## `Class: BundleRenderer` | ||
|
||
- #### `bundleRenderer.renderToString([context, ]callback)` | ||
|
||
Render the bundle to a string. The context object is optional. The callback is a typical Node.js style callback where the first argument is the error and the second argument is the rendered string. | ||
Faire le rendu d'un paquetage sous forme de chaîne de caractères. L'objet de contexte est optionnel. La fonction de rappel est une fonction de rappel typique de Node.js avec en premier argument l'erreur potentielle et en second argument la chaîne de caractères du rendu. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fait le rendu
en/api.md
Outdated
|
||
- #### `bundleRenderer.renderToStream([context])` | ||
|
||
Render the bundle to a Node.js stream. The context object is optional. See [Streaming](./streaming.md) for more details. | ||
Faire le rendu d'un paquetage sous forme de flux. L'objet de contexte est optionnel. Voir l'[Envoi par flux](./streaming.md) pour plus de détails. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fait le rendu
en/api.md
Outdated
- [Using a Page Template](./basic.md#using-a-page-template) | ||
- [Manual Asset Injection](./build-config.md#manual-asset-injection) | ||
- [Utiliser un modèle de page](./basic.md#utiliser-un-modele-de-page) | ||
- [Injection manuel des fichiers](./build-config.md#injection-manuel-des-fichiers) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Injection manuelle des fichiers
Qui devra aussi être corrigé dans le fichier build-config.md
Je te laisse valiser ça @Kocal. C'est top ! |
No description provided.