Static GitHub Issues

[3037] Problem with htmlAttrs after updating to nuxt 1.4.0

prev: router-view
next: How to set meta robots tag?

I set htmlAttrs in nuxt.config.js:

head: {
    htmlAttrs: {
      dir: 'rtl'
    },
}

But after updating from nuxt@1.0.0 to nuxt nuxt@1.4.0 , this attribute and lang (nuxt-i18n) doesn't add to <html> on SSR pages. After navigating to other page in client side, the attributes appears.

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c2631">#c2631</a>)</em></sub></div>