mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 21:55:11 +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 {
|
||||
setup () {
|
||||
useMeta({
|
||||
meta: [
|
||||
{ name: 'viewport', content: 'width=device-width, initial-scale=1, maximum-scale=1' }
|
||||
],
|
||||
bodyAttrs: {
|
||||
class: 'test'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user