You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/installation.md
+8-9
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
-
# Installation (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).*
[Unpkg.com](https://unpkg.com)provides NPM-based CDN links. The above link will always point to the latest release on NPM. You can also use a specific version/tag via URLs like`https://unpkg.com/[email protected]/dist/vue-router.js`.
8
+
[Unpkg.com](https://unpkg.com)fournit des liens CDN basés sur NPM. Le lien ci-dessus pointera toujours vers la dernière release sur NPM. Vous pouvez aussi utiliser un tag ou une version spécifique via une URL comme`https://unpkg.com/[email protected]/dist/vue-router.js`.
9
9
<!--/email_off-->
10
10
11
-
Include`vue-router`after Vue and it will install itself automatically:
11
+
Incluez`vue-router`après Vue, et l'installation sera automatique :
12
12
13
13
```html
14
14
<scriptsrc="/path/to/vue.js"></script>
@@ -21,7 +21,7 @@ Include `vue-router` after Vue and it will install itself automatically:
21
21
npm install vue-router
22
22
```
23
23
24
-
When used with a module system, you must explicitly install the router via `Vue.use()`:
24
+
Lorsqu'il est utilisé avec un système de module, vous devez explicitement installer le router via `Vue.use()`:
25
25
26
26
```js
27
27
importVuefrom'vue'
@@ -30,12 +30,11 @@ import VueRouter from 'vue-router'
30
30
Vue.use(VueRouter)
31
31
```
32
32
33
-
You don't need to do this when using global script tags.
33
+
Vous n'avez pas besoin de faire cela lors de l'utilisation des balises de script globales (`<script>`).
34
34
35
-
### Dev Build
35
+
### Build de développement
36
36
37
-
You will have to clone directly from GitHub and build `vue-router` yourself if
38
-
you want to use the latest dev build.
37
+
Vous aurez besoin de cloner directement `vue-router` depuis GitHub et le compiler vous-même si vous souhaitez utiliser le dernier build de développement.
0 commit comments