Vue-meta: how use like this "<meta http-equiv='x-ua-compatible' content='IE=edge'>"

Created on 7 Dec 2017  路  2Comments  路  Source: nuxt/vue-meta

when i use it(vue-meta),and my setting:
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ http-equiv: 'x-ua-compatiable', content: 'IE=edge' }

is it right??? no!!!
it's error:
C:UsersAdministrator\Desktop\vue\zt_pcnuxt.config.js:10
{ http-equiv: 'x-ua-compatiable', content: 'IE=edge' },
^
SyntaxError: Unexpected token -

Most helpful comment

So there's no problem with writing
{'http-equiv':'http-equiv', content:'text/html; charset=UTF-8'}

All 2 comments

So there's no problem with writing
{'http-equiv':'http-equiv', content:'text/html; charset=UTF-8'}

@tr-text thx,I'm so 'silly!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

farhodhojiev picture farhodhojiev  路  4Comments

vishr picture vishr  路  5Comments

lwansbrough picture lwansbrough  路  7Comments

DRoet picture DRoet  路  9Comments

o-alexandrov picture o-alexandrov  路  5Comments