Skip to content

Commit

Permalink
fix:(vue): add title to with-ssr example
Browse files Browse the repository at this point in the history
  • Loading branch information
mohdashraf010897 committed Dec 28, 2023
1 parent dd6d84d commit e75f521
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions packages/vue/examples/with-ssr/app.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<script setup lang="ts">
// eslint-disable-next-line no-undef
useHead({
title: 'With-ssr',
})
</script>

<template>
<NuxtPage />
</template>
2 changes: 1 addition & 1 deletion packages/vue/examples/with-ssr/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Search from '../components/search.vue';
// eslint-disable-next-line no-undef
const route = useRoute();
// eslint-disable-next-line no-unused-vars,no-undef
const { data, pending, error, refresh } = await useAsyncData(() =>
const { data } = await useAsyncData(() =>
getServerState(Search, route.query),
);
// eslint-disable-next-line no-unused-vars
Expand Down

0 comments on commit e75f521

Please sign in to comment.