File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<script setup>
2- import { withoutTrailingSlash } from ' ufo'
32const { mapContentNavigation } = useElementsHelpers ()
43
54const route = useRoute ()
@@ -11,10 +10,7 @@ useServerSeoMeta({
1110useHead ({
1211 htmlAttrs: {
1312 lang: ' en' ,
14- },
15- link : () => [
16- { rel: ' canonical' , href: ` https://image.nuxt.com${ withoutTrailingSlash (route .path )} ` }
17- ]
13+ }
1814})
1915const links = [{
2016 label: ' Documentation' ,
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ export default defineNuxtConfig({
55 modules : [
66 '@nuxt/image' ,
77 '@nuxt/content' ,
8- '@nuxthq /ui' ,
8+ '@nuxt /ui' ,
99 '@nuxthq/studio' ,
1010 '@vueuse/nuxt' ,
1111 '@nuxtjs/fontaine' ,
@@ -31,7 +31,8 @@ export default defineNuxtConfig({
3131 } ,
3232 nitro : {
3333 prerender : {
34- routes : [ '/api/search.json' ]
34+ routes : [ '/api/search.json' ] ,
35+ autoSubfolderIndex : false
3536 }
3637 } ,
3738 hooks : {
Original file line number Diff line number Diff line change 1313 "@iconify-json/simple-icons" : " ^1.1.69" ,
1414 "@nuxt/content" : " ^2.8.2" ,
1515 "@nuxt/image" : " rc" ,
16- "@nuxthq/elements" : " npm:@nuxthq/elements-edge@0.0.1-28233683.5219c54" ,
17- "@nuxthq/studio" : " ^0.14.0" ,
18- "@nuxthq/ui" : " npm:@nuxthq/ui-edge@2.7.0-28233674.a2970cb" ,
16+ "@nuxthq/elements" : " npm:@nuxthq/elements-edge@0.0.1-28235068.a87a248" ,
17+ "@nuxthq/studio" : " ^0.14.1" ,
1918 "@nuxtjs/fontaine" : " ^0.4.1" ,
2019 "@nuxtjs/google-fonts" : " ^3.0.2" ,
2120 "@nuxtjs/plausible" : " ^0.2.1" ,
2221 "@vueuse/core" : " ^10.4.1" ,
23- "@vueuse/nuxt" : " ^10.4.1" ,
24- "shikiji" : " ^0.6.7"
22+ "@vueuse/nuxt" : " ^10.4.1"
2523 },
2624 "devDependencies" : {
2725 "@antfu/eslint-config" : " ^0.41.0" ,
Original file line number Diff line number Diff line change 4848 "changelogen" : " ^0.5.5" ,
4949 "eslint" : " 8.48.0" ,
5050 "globby" : " ^13.2.2" ,
51- "happy-dom" : " ^11.0.1 " ,
51+ "happy-dom" : " ^11.0.2 " ,
5252 "ipx" : " 1.3.0" ,
5353 "jiti" : " 1.19.3" ,
5454 "nuxt" : " ^3.7.1" ,
You can’t perform that action at this time.
0 commit comments