You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Checking unplugin-vue2-script-setup for <script setup> support for vue 2, it seems already a nice implementation but top-level await marked as unsupported. /cc @antfu Is it because of async setup() support for vue 2? We might find a way to suspend page navigations with fetch and asyncData() Without suspense supporting await for nuxt 2 seems a bad solution. We will keep with useLegacyFetch only that does not blocks navigation.
Activity
pi0 commentedon Sep 22, 2021
A quick comparison table between exports of
vue@2,vue@3and@vuejs/composition-api: https://docs.google.com/spreadsheets/d/1I1l4zr2GfyvDiDWj4QCSYCoMpa0ANzcvYWbiFT5MgWE/edit#gid=0pi0 commentedon Oct 2, 2021
Checking unplugin-vue2-script-setup forWithout suspense supporting await for nuxt 2 seems a bad solution. We will keep with<script setup>support for vue 2, it seems already a nice implementation but top-level await marked as unsupported. /cc @antfu Is it because ofasync setup()support for vue 2? We might find a way to suspend page navigations withfetchandasyncData()useLegacyFetchonly that does not blocks navigation.pi0 commentedon Oct 12, 2021
Most important composables are backported. We shall create a new issue for adding some more Nuxt 2 -only composables