{{ post.title }}
+{{ post.body }}
+diff --git a/.babelrc b/.babelrc
index c687bbc3a..689c3e542 100644
--- a/.babelrc
+++ b/.babelrc
@@ -1,4 +1,4 @@
{
- "presets": ["es2015-loose", "flow-vue"],
+ "presets": ["es2015", "flow-vue"],
"plugins": ["syntax-dynamic-import"]
}
diff --git a/build/build.js b/build/build.js
index 6d5b8c42c..0175de415 100644
--- a/build/build.js
+++ b/build/build.js
@@ -92,9 +92,7 @@ function buildEntry (config) {
const code = bundle.generate(config).code
if (isProd) {
var minified = (config.banner ? config.banner + '\n' : '') + uglify.minify(code, {
- fromString: true,
output: {
- screw_ie8: true,
ascii_only: true
},
compress: {
diff --git a/docs/LANGS.md b/docs/LANGS.md
index 6654d54e8..2af5399fd 100644
--- a/docs/LANGS.md
+++ b/docs/LANGS.md
@@ -1,4 +1,5 @@
* [2.0 - English](en/)
+* [2.0 - French](fr/)
* [2.0 - Japanese](ja/)
* [2.0 - 中文](zh-cn/)
* [2.0 - German](de/)
diff --git a/docs/en/SUMMARY.md b/docs/en/SUMMARY.md
index 8c11415e9..49f522268 100644
--- a/docs/en/SUMMARY.md
+++ b/docs/en/SUMMARY.md
@@ -7,7 +7,7 @@
- [Installation](installation.md)
- Essentiel
- [Pour commencer](essentials/getting-started.md)
- - [Dynamic Route Matching (En)](essentials/dynamic-matching.md)
+ - [Concordance dynamique de route](essentials/dynamic-matching.md)
- [Nested Routes (En)](essentials/nested-routes.md)
- [Programmatic Navigation (En)](essentials/navigation.md)
- [Named Routes (En)](essentials/named-routes.md)
diff --git a/docs/en/essentials/dynamic-matching.md b/docs/en/essentials/dynamic-matching.md
index b52be5088..f0d0f6df7 100644
--- a/docs/en/essentials/dynamic-matching.md
+++ b/docs/en/essentials/dynamic-matching.md
@@ -1,74 +1,74 @@
-# Dynamic Route Matching (En)
*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-router).*
+# Concordance dynamique de route
-Very often we will need to map routes with the given pattern to the same component. For example we may have a `User` component which should be rendered for all users but with different user IDs. In `vue-router` we can use a dynamic segment in the path to achieve that:
+Vous allez très souvent associer des routes avec un motif donné à un même composant. Par exemple nous pourrions avoir le composant `User` qui devrait être rendu pour tous les utilisateurs mais avec différents identifiants. Avec `vue-router` nous pouvons utiliser des segments dynamiques dans le chemin de la route pour réaliser cela :
``` js
const User = {
- template: '
{{ post.body }}
+
+
+
+
+
Anchor
+Anchor
+Anchor2