mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-19 09:55: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 }" />
|
<ErrorTemplate v-bind="{ statusCode, statusMessage, description, stack }" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup>
|
||||||
import Error404 from '@nuxt/ui-templates/templates/error-404.vue'
|
import Error404 from '@nuxt/ui-templates/templates/error-404.vue'
|
||||||
import Error500 from '@nuxt/ui-templates/templates/error-500.vue'
|
import Error500 from '@nuxt/ui-templates/templates/error-500.vue'
|
||||||
import ErrorDev from '@nuxt/ui-templates/templates/error-dev.vue'
|
import ErrorDev from '@nuxt/ui-templates/templates/error-dev.vue'
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
</Suspense>
|
</Suspense>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup>
|
||||||
import { onErrorCaptured } from 'vue'
|
import { onErrorCaptured } from 'vue'
|
||||||
import { callWithNuxt, throwError, useError, useNuxtApp } from '#app'
|
import { callWithNuxt, throwError, useError, useNuxtApp } from '#app'
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
Loading…
Reference in New Issue
Block a user