docs(meta): add viewport example for useMeta (#1496)

This commit is contained in:
Marshall Thompson 2021-10-27 02:06:19 -06:00 committed by GitHub
parent 096f0679f7
commit 815a42d6ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'
}