diff --git a/src/guide/reusability/plugins.md b/src/guide/reusability/plugins.md index c5d2f1100..5ba45c30c 100644 --- a/src/guide/reusability/plugins.md +++ b/src/guide/reusability/plugins.md @@ -103,12 +103,6 @@ Les plugins nous permettent également d'utiliser `inject` pour fournir une fonc // plugins/i18n.js export default { install: (app, options) => { - app.config.globalProperties.$translate = (key) => { - return key.split('.').reduce((o, i) => { - if (o) return o[i] - }, options) - } - app.provide('i18n', options) } }