i18n library offers two parameters to silence i18n warnings here. But these are not working on my Nuxt project. Actually, it was my mistake to didn’t to look at the guide well. I was using the options like so: But it should be like this: The silent options must be under the “vueI18n” keyword. Now…
Category: Javascript
How to add class attributes to the body tag in Nuxt?
Nuxt has a great configuration file called nuxt.config.js. There are bunches of settings you can modify. There is a head section at the top. You can add body attributes such as class under the ‘bodyAttrs’ keyword like below:
Nice to meet you Nuxt.
I have been using Vue for about 3 years. I think I first saw it on Laracast, at one of Jeffrey Way’s Laravel videos. I’m using Laravel since 2015. It was a very crazy method called progressive. I mean state-based programming. Very interesting way. Changing a list, changing a form field, changing a paragraph direct…