Home

Issue: 3037

Problem with htmlAttrs after updating to nuxt 1.4.0

[issue link]

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.

This question is available on Nuxt.js community (#c2631)