Add styleguide note about how to order a `<script>` and `<template>` in a Vue file.
We should add styleguide note about how to order a <script>
and <template>
in a Vue file.
I see 17/157 Vue files with the <template>
first. But it seems like we prefer having the <script>
tag come first based on the previous stat and the "End Result" example that is in the styleguide already.
Probably best added to the ordering section we already have, https://docs.gitlab.com/ce/development/fe_guide/style_guide_js.html#ordering
<script>
// ...
</script>
<template>
// ...
</template>