mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-19 01:45:53 +00:00
fix(nuxt3): do not use ts in internal components (#3773)
This commit is contained in:
parent
30b8059d6d
commit
7d37a1309e
@ -2,7 +2,7 @@
|
||||
<ErrorTemplate v-bind="{ statusCode, statusMessage, description, stack }" />
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
<script setup>
|
||||
import Error404 from '@nuxt/ui-templates/templates/error-404.vue'
|
||||
import Error500 from '@nuxt/ui-templates/templates/error-500.vue'
|
||||
import ErrorDev from '@nuxt/ui-templates/templates/error-dev.vue'
|
||||
|
@ -5,7 +5,7 @@
|
||||
</Suspense>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
<script setup>
|
||||
import { onErrorCaptured } from 'vue'
|
||||
import { callWithNuxt, throwError, useError, useNuxtApp } from '#app'
|
||||
// @ts-ignore
|
||||
|
Loading…
Reference in New Issue
Block a user