From 293a190e993b204d6990d36c70f1bb4cd2afedc6 Mon Sep 17 00:00:00 2001 From: Yaty Date: Sun, 15 Oct 2017 21:39:08 +0200 Subject: [PATCH 1/2] createLocalVue.md: traduction --- docs/en/api/createLocalVue.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/en/api/createLocalVue.md b/docs/en/api/createLocalVue.md index a3cbfcee3..dc1b7514d 100644 --- a/docs/en/api/createLocalVue.md +++ b/docs/en/api/createLocalVue.md @@ -1,13 +1,13 @@ # createLocalVue() -- **Returns:** +- **Retourne :** - `{Component}` -- **Usage:** +- **Utilisation :** -`createLocalVue` returns a Vue class for you to add components, mixins and install plugins without polluting the global Vue class. +`createLocalVue` retourne un constructeur de Vue pour ajouter des composants, des mixins et installer des plugins sans polluer le contructeur global Vue. -Use it with `options.localVue` +Utilisez la avec `options.localVue` ```js import { createLocalVue, shallow } from 'vue-test-utils' @@ -25,4 +25,4 @@ const freshWrapper = shallow(Foo) expect(freshWrapper.vm.foo).toBe(false) ``` -- **See also:** [Common Tips](../guides/common-tips.md#applying-global-plugins-and-mixins) +- **Voir aussi :** [Astucs](../guides/common-tips.md#applying-global-plugins-and-mixins) From 9267fc0d3334ce90907b7221842c257a7f67fd0d Mon Sep 17 00:00:00 2001 From: Yaty Date: Sun, 15 Oct 2017 21:39:35 +0200 Subject: [PATCH 2/2] createLocalVue.md: typo --- docs/en/api/createLocalVue.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/api/createLocalVue.md b/docs/en/api/createLocalVue.md index dc1b7514d..6126d2605 100644 --- a/docs/en/api/createLocalVue.md +++ b/docs/en/api/createLocalVue.md @@ -25,4 +25,4 @@ const freshWrapper = shallow(Foo) expect(freshWrapper.vm.foo).toBe(false) ``` -- **Voir aussi :** [Astucs](../guides/common-tips.md#applying-global-plugins-and-mixins) +- **Voir aussi :** [Astuces](../guides/common-tips.md#applying-global-plugins-and-mixins)