fix(nuxt3): do not use ts in internal components (#3773)

This commit is contained in:
Daniel Roe 2022-03-18 10:57:53 +00:00 committed by GitHub
parent 30b8059d6d
commit 7d37a1309e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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'

View File

@ -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