Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/development/fe_guide/vue.md')
-rw-r--r--doc/development/fe_guide/vue.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/development/fe_guide/vue.md b/doc/development/fe_guide/vue.md
index 1a43084245e..8230f38ad8e 100644
--- a/doc/development/fe_guide/vue.md
+++ b/doc/development/fe_guide/vue.md
@@ -353,10 +353,11 @@ return new Vue({
#### Accessing feature flags
-Use the [`provide` and `inject`](https://v2.vuejs.org/v2/api/#provide-inject) mechanisms
-in Vue to make feature flags available to any descendant components in a Vue
-application. The `glFeatures` object is already provided in `commons/vue.js`, so
-only the mixin is required to use the flags:
+After pushing a feature flag to the [frontend](../feature_flags/index.md#frontend),
+use the [`provide` and `inject`](https://v2.vuejs.org/v2/api/#provide-inject)
+mechanisms in Vue to make feature flags available to any descendant components
+in a Vue application. The `glFeatures` object is already provided in
+`commons/vue.js`, so only the mixin is required to use the flags:
```javascript
// An arbitrary descendant component