Skip to content

Improve HAML to JS bootstrapping docs

What does this MR do?

This MR updates the Bootstrapping Gotchas documentation for Providing data from HAML to JavaScript https://docs.gitlab.com/ee///development/fe_guide/vue.html#providing-data-from-haml-to-javascript

It borrows some information from https://docs.gitlab.com/ee/development/fe_guide/vuex.html#why-not-just-spread-the-initial-state and places a similar example in this area of our docs

Screenshots

fe_guide/style/vue.html

Before After
n/a Screenshot_2020-11-06_at_11.26.31

fe_guide/vue.html

Before After
Screenshot_2020-10-20_at_14.27.28 Screenshot_2020-11-04_at_17.45.40

fe_guide/vuex.html

Before After
Screenshot_2020-10-20_at_14.27.16 Screenshot_2020-10-20_at_14.21.24

Next steps

Once this is merged, I'll announce the docs update on all of the relevant channels and open an epic with issues to fix existing occurrences of this.

Edited by Brandon Labuschagne

Merge request reports

Loading