Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c4b8cbf

Browse files
committedMay 5, 2017
Set all pages as an under translation page.
Signed-off-by: Bruno Lesieur <[email protected]>
1 parent 7604c55 commit c4b8cbf

File tree

14 files changed

+42
-42
lines changed

14 files changed

+42
-42
lines changed
 

‎en/SUMMARY.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
- [Utilisation de base](basic.md)
2-
- [Writing Universal Code (En)](https://ssr.vuejs.org/en/universal.html)
3-
- [Source Code Structure (En)](https://ssr.vuejs.org/en/structure.html)
4-
- [Routing and Code-Splitting (En)](https://ssr.vuejs.org/en/routing.html)
5-
- [Data Pre-fetching and State (En)](https://ssr.vuejs.org/en/data.html)
6-
- [Client Side Hydration (En)](https://ssr.vuejs.org/en/hydration.html)
7-
- [Introducing Bundle Renderer (En)](https://ssr.vuejs.org/en/bundle-renderer.html)
8-
- [Build Configuration (En)](https://ssr.vuejs.org/en/build-config.html)
9-
- [CSS Management (En)](https://ssr.vuejs.org/en/css.html)
10-
- [Head Management (En)](https://ssr.vuejs.org/en/head.html)
11-
- [Caching (En)](https://ssr.vuejs.org/en/caching.html)
12-
- [Streaming (En)](https://ssr.vuejs.org/en/streaming.html)
13-
- [API Reference (En)](https://ssr.vuejs.org/en/api.html)
14-
- [createRenderer (En)](https://ssr.vuejs.org/en/api.html#createrendereroptions)
15-
- [createBundleRenderer (En)](https://ssr.vuejs.org/en/api.html#createbundlerendererbundle-options)
16-
- [Class: Renderer (En)](https://ssr.vuejs.org/en/api.html#class-renderer)
17-
- [Class: BundleRenderer (En)](https://ssr.vuejs.org/en/api.html#class-bundlerenderer)
18-
- [Renderer Options (En)](https://ssr.vuejs.org/en/api.html#renderer-options)
19-
- [template (En)](https://ssr.vuejs.org/en/api.html#template)
20-
- [clientManifest (En)](https://ssr.vuejs.org/en/api.html#clientmanifest)
21-
- [inject (En)](https://ssr.vuejs.org/en/api.html#inject)
22-
- [shouldPreload (En)](https://ssr.vuejs.org/en/api.html#shouldpreload)
23-
- [runInNewContext (En)](https://ssr.vuejs.org/en/api.html#runinnewcontext)
24-
- [basedir (En)](https://ssr.vuejs.org/en/api.html#basedir)
25-
- [cache (En)](https://ssr.vuejs.org/en/api.html#cache)
26-
- [directives (En)](https://ssr.vuejs.org/en/api.html#directives)
27-
- [Webpack Plugins (En)](https://ssr.vuejs.org/en/api.html#webpack-plugins)
2+
- [Écrire du code universel (En)](universal.md)
3+
- [Structure de code (En)](structure.md)
4+
- [Routage et fragmentation (En)](routing.md)
5+
- [Pré-chargement et état (En)](data.md)
6+
- [Hydratation côté client (En)](hydration.md)
7+
- [Introduction à l'empaquetage (En)](bundle-renderer.md)
8+
- [Configuration de pré-compilation (En)](build-config.md)
9+
- [Gestion des CSS (En)](css.md)
10+
- [Gestion des entêtes (En)](head.md)
11+
- [Mise en cache (En)](caching.md)
12+
- [Envoi par flux (En)](streaming.md)
13+
- [Réference de l'API (En)](api.md)
14+
- [createRenderer (En)](api.md#createrendereroptions)
15+
- [createBundleRenderer (En)](api.md#createbundlerendererbundle-options)
16+
- [Class: Renderer (En)](api.md#class-renderer)
17+
- [Class: BundleRenderer (En)](api.md#class-bundlerenderer)
18+
- [Renderer Options (En)](api.md#renderer-options)
19+
- [template (En)](api.md#template)
20+
- [clientManifest (En)](api.md#clientmanifest)
21+
- [inject (En)](api.md#inject)
22+
- [shouldPreload (En)](api.md#shouldpreload)
23+
- [runInNewContext (En)](api.md#runinnewcontext)
24+
- [basedir (En)](api.md#basedir)
25+
- [cache (En)](api.md#cache)
26+
- [directives (En)](api.md#directives)
27+
- [Plugins webpack (En)](api.md#webpack-plugins)

‎en/api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# API Reference
1+
# Réference de l'API (En) <br><br> *Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vue-ssr-docs).*
22

33
## `createRenderer([options])`
44

@@ -212,7 +212,7 @@ See [Introducing the Server Bundle](./bundle-renderer.md) and [Build Configurati
212212

213213
As an example, check out [`v-show`'s server-side implementation](https://github.com/vuejs/vue/blob/dev/src/platforms/web/server/directives/show.js).
214214

215-
## Webpack Plugins
215+
## webpack Plugins
216216

217217
The webpack plugins are provided as standalone files and should be required directly:
218218

‎en/basic.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ Le modèle de page supporte également une interpolation simple. Avec le modèle
110110
``` html
111111
<html>
112112
<head>
113-
<title>{\{ title }}</title>
114-
{\{\{ meta }}}
113+
<title>{{ title }}</title>
114+
{{{ meta }}}
115115
</head>
116116
<body>
117117
<!--vue-ssr-outlet-->

‎en/build-config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Build Configuration
1+
# Configuration de pré-compilation (En) <br><br> *Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vue-ssr-docs).*
22

33
We will assume you already know how to configure webpack for a client-only project. The config for an SSR project will be largely similar, but we suggest breaking the config into three files: *base*, *client* and *server*. The base config contains config shared for both environments, such as output path, aliases, and loaders. The server config and client config can simply extend the base config using [webpack-merge](https://github.com/survivejs/webpack-merge).
44

‎en/bundle-renderer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Introducing Bundle Renderer
1+
# Introduction à l'empaquetage (En) <br><br> *Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vue-ssr-docs).*
22

33
## Problems with Basic SSR
44

‎en/caching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Caching
1+
# Mise en cache (En) <br><br> *Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vue-ssr-docs).*
22

33
Although Vue's SSR is quite fast, it can't match the performance of pure string-based templating due to the cost of creating component instances and Virtual DOM nodes. In cases where SSR performance is critical, wisely leveraging caching strategies can greatly improve response time and reduce server load.
44

‎en/css.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# CSS Management
1+
# Gestion des CSS (En) <br><br> *Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vue-ssr-docs).*
22

33
The recommended way to manage CSS is to simply use `<style>` inside `*.vue` single file components, which offers:
44

‎en/data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Data Pre-Fetching and State
1+
# Pré-chargement et état (En) <br><br> *Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vue-ssr-docs).*
22

33
## Data Store
44

‎en/head.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Head Management
1+
# Gestion des entêtes (En) <br><br> *Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vue-ssr-docs).*
22

33
Similar to asset injection, head management follows the same idea: we can dynamically attach data to the render `context` in a component's lifecycle, and then interpolate those data in `template`.
44

‎en/hydration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Client Side Hydration
1+
# Hydratation côté client (En) <br><br> *Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vue-ssr-docs).*
22

33
In `entry-client.js`, we are simply mounting the app with this line:
44

‎en/routing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Routing and Code-Splitting
1+
# Routage et fragmentation (En) <br><br> *Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vue-ssr-docs).*
22

33
## Routing with `vue-router`
44

‎en/streaming.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Streaming
1+
# Envoi par flux (En) <br><br> *Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vue-ssr-docs).*
22

33
`vue-server-renderer` supports stream rendering out of the box, for both the base renderer and the bundle renderer. All you need to do is use `renderToStream` instead of `renderToString`:
44

‎en/structure.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Source Code Structure
1+
# Structure de code (En) <br><br> *Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vue-ssr-docs).*
22

33
## Avoid Stateful Singletons
44

@@ -57,7 +57,7 @@ So the basic idea is we will be using webpack to bundle our app for both client
5757

5858
We will discuss the details of the setup in later sections - for now, let's just assume we've got the build setup figured out and we can write our Vue app code with webpack enabled.
5959

60-
## Code Structure with Webpack
60+
## Code Structure with webpack
6161

6262
Now that we are using webpack to process the app for both server and client, the majority of our source code can be written in a universal fashion, with access to all the webpack-powered features. At the same time, there are [a number of things](./universal.md) you should keep in mind when writing universal code.
6363

‎en/universal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Writing Universal Code
1+
# Écrire du code universel (En) <br><br> *Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vue-ssr-docs).*
22

33
Before going further, let's take a moment to discuss the constraints when writing "universal" code - that is, code that runs on both the server and the client. Due to use case and platform API differences, the behavior of our code will not be exactly the same when running in different environments. Here we will go over the key things you need to aware of.
44

0 commit comments

Comments
 (0)
Please sign in to comment.