File tree Expand file tree Collapse file tree 3 files changed +5
-9
lines changed
Expand file tree Collapse file tree 3 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -24,5 +24,5 @@ export function useSchemaOrg(input?: any): any {
2424 nodes : input ,
2525 } ,
2626 ] ,
27- } )
27+ } , { mode : 'server' } )
2828}
Original file line number Diff line number Diff line change @@ -25,14 +25,9 @@ useSchemaOrg([
2525 telephone: ' +1-781-555-1212' ,
2626 priceRange: ' $' ,
2727 }),
28- // defineWebSite({
29- // name: 'Harlan\'s Hamburgers',
30- // potentialAction: [
31- // asSearchAction({
32- // target: '/search?q={search_term_string}',
33- // }),
34- // ],
35- // }),
28+ defineWebSite ({
29+ name: ' Harlan\' s Hamburgers' ,
30+ }),
3631])
3732
3833name .value = ' Harlan\' s Hamburgers - Updated'
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ useHead({
88 </script >
99<template >
1010 <div >
11+ <SchemaOrgWebPage title =" Hello world" />
1112 <h2 class =" text-3xl mb-5" >
1213 Money can't buy happiness, but it can buy Harlan's Hamburgers.
1314 </h2 >
You can’t perform that action at this time.
0 commit comments