diff --git a/docs/1.getting-started/5.seo-meta.md b/docs/1.getting-started/5.seo-meta.md index a876cccd00..c617679e7d 100644 --- a/docs/1.getting-started/5.seo-meta.md +++ b/docs/1.getting-started/5.seo-meta.md @@ -119,7 +119,7 @@ const title = ref('Hello World') <Head> <Title>{{ title }}</Title> <Meta name="description" :content="title" /> - <Style type="text/css"> + <Style> body { background-color: green; } </Style> </Head> diff --git a/packages/schema/src/config/app.ts b/packages/schema/src/config/app.ts index 520b78ec8f..28c6be5b34 100644 --- a/packages/schema/src/config/app.ts +++ b/packages/schema/src/config/app.ts @@ -146,12 +146,12 @@ export default defineResolvers({ * ], * // please note that this is an area that is likely to change * style: [ - * // <style type="text/css">:root { color: red }</style> - * { children: ':root { color: red }', type: 'text/css' } + * // <style>:root { color: red }</style> + * { textContent: ':root { color: red }' } * ], * noscript: [ * // <noscript>JavaScript is required</noscript> - * { children: 'JavaScript is required' } + * { textContent: 'JavaScript is required' } * ] * } * }