Skip to content

Add browser compatibility meta tag for IE #137

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
flacito opened this issue Apr 18, 2018 · 2 comments
Closed

Add browser compatibility meta tag for IE #137

flacito opened this issue Apr 18, 2018 · 2 comments

Comments

@flacito
Copy link

flacito commented Apr 18, 2018

regarding

Our IT team displays intranet sites in Compatibility View in IE 11. Although we can disable it if we know what we are doing, the vast majority of our users do not know how to do this and leave it enabled. The HTML, Javascript, and CSS that Vuepress generates does not work in IE Compatibility View.

Microsoft has provided a workaround that I think will fix things if we add <meta http-equiv="XA-UA-Compatible" content="IE=edge"> as a meta tag in the page headers. It would have to be in every generated HTML file.

I took a look at the Site and Page Metadata section of the docs, but it didn't explain the headers field. Would I just literally put that meta tag in the headers array?

If not, can we add a feature to Vuepress to either put the meta tag in there all the time or provide a boolean in the config.js to turn it on?

Thanks! --Brian

@yyx990803
Copy link
Member

https://vuepress.vuejs.org/config/#head

@flacito
Copy link
Author

flacito commented Apr 18, 2018

Amazing support sir. Thank you so much. ❤️ Vue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants