mirror of
https://github.com/nuxt/nuxt.git
synced 2025-03-20 00:11:18 +00:00
docs: adjust app.head
example (#31350)
This commit is contained in:
parent
c056f2c028
commit
0685e91d01
@ -119,7 +119,7 @@ const title = ref('Hello World')
|
|||||||
<Head>
|
<Head>
|
||||||
<Title>{{ title }}</Title>
|
<Title>{{ title }}</Title>
|
||||||
<Meta name="description" :content="title" />
|
<Meta name="description" :content="title" />
|
||||||
<Style type="text/css">
|
<Style>
|
||||||
body { background-color: green; }
|
body { background-color: green; }
|
||||||
</Style>
|
</Style>
|
||||||
</Head>
|
</Head>
|
||||||
|
@ -146,12 +146,12 @@ export default defineResolvers({
|
|||||||
* ],
|
* ],
|
||||||
* // please note that this is an area that is likely to change
|
* // please note that this is an area that is likely to change
|
||||||
* style: [
|
* style: [
|
||||||
* // <style type="text/css">:root { color: red }</style>
|
* // <style>:root { color: red }</style>
|
||||||
* { children: ':root { color: red }', type: 'text/css' }
|
* { textContent: ':root { color: red }' }
|
||||||
* ],
|
* ],
|
||||||
* noscript: [
|
* noscript: [
|
||||||
* // <noscript>JavaScript is required</noscript>
|
* // <noscript>JavaScript is required</noscript>
|
||||||
* { children: 'JavaScript is required' }
|
* { textContent: 'JavaScript is required' }
|
||||||
* ]
|
* ]
|
||||||
* }
|
* }
|
||||||
* }
|
* }
|
||||||
|
Loading…
Reference in New Issue
Block a user