-
Vue 3.2’s <script setup> in Single File Components is a very nice addition. Keeps the indentation level down and reduces complexity 👍🏻 v3.vuejs.org/api/sfc-script-setup.html
-
I migrated a fairly large codebase (191 changed Vue files) to <script setup>. The boilerplate code has been reduced by ~14 %. From 20,344 lines of code to 17,449. Not to mention the whole code is now at indentation level 0. That’s 4 or 8 spaces, or 2 tabs less 🎉