mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 15:42:09 +00:00
docs(meta): add viewport
example for useMeta
(#1496)
This commit is contained in:
parent
096f0679f7
commit
815a42d6ac
@ -11,6 +11,9 @@ For example:
|
|||||||
export default {
|
export default {
|
||||||
setup () {
|
setup () {
|
||||||
useMeta({
|
useMeta({
|
||||||
|
meta: [
|
||||||
|
{ name: 'viewport', content: 'width=device-width, initial-scale=1, maximum-scale=1' }
|
||||||
|
],
|
||||||
bodyAttrs: {
|
bodyAttrs: {
|
||||||
class: 'test'
|
class: 'test'
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user