1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 12:54:53 -05:00
forgejo/web_src/js/components
silverwind 9a3de436f4
Reorder blocks in vue SFCs (#26874)
The [recommended order](https://vuejs.org/guide/scaling-up/sfc.html) for
SFC blocks is script -> template -> style, which we were violating
because template and script were swapped. I do find script first also
easier to read because the imports are on top, letting me immideatly see
a component's dependencies.

This is a pure cut-paste refactor with some removal of some empty lines.

---------

Co-authored-by: Lauris BH <lauris@nix.lv>
2023-09-02 14:59:07 +00:00
..
.eslintrc.yaml Add eslint-plugin-vue-scoped-css (#26720) 2023-08-25 13:47:27 +00:00
ActionRunStatus.vue Reorder blocks in vue SFCs (#26874) 2023-09-02 14:59:07 +00:00
ActivityHeatmap.vue Reorder blocks in vue SFCs (#26874) 2023-09-02 14:59:07 +00:00
ContextPopup.vue Reorder blocks in vue SFCs (#26874) 2023-09-02 14:59:07 +00:00
DashboardRepoList.vue Reorder blocks in vue SFCs (#26874) 2023-09-02 14:59:07 +00:00
DiffCommitSelector.vue Reorder blocks in vue SFCs (#26874) 2023-09-02 14:59:07 +00:00
DiffFileList.vue Reorder blocks in vue SFCs (#26874) 2023-09-02 14:59:07 +00:00
DiffFileTree.vue Reorder blocks in vue SFCs (#26874) 2023-09-02 14:59:07 +00:00
DiffFileTreeItem.vue Reorder blocks in vue SFCs (#26874) 2023-09-02 14:59:07 +00:00
PullRequestMergeForm.vue Reorder blocks in vue SFCs (#26874) 2023-09-02 14:59:07 +00:00
RepoActionView.vue Reorder blocks in vue SFCs (#26874) 2023-09-02 14:59:07 +00:00
RepoActivityTopAuthors.vue Reorder blocks in vue SFCs (#26874) 2023-09-02 14:59:07 +00:00
RepoBranchTagSelector.vue Reorder blocks in vue SFCs (#26874) 2023-09-02 14:59:07 +00:00
ScopedAccessTokenSelector.vue Reorder blocks in vue SFCs (#26874) 2023-09-02 14:59:07 +00:00