It took me some time to find out the example works only with extractCSS set to true (at least with Nuxt 2.1/2.2). Therefore I added this.
As I don't want to have separate files, I changed it to postcss, and documented this as an alternative. This has previously been discussed here: https://github.com/nuxt/nuxt.js/issues/2195
It took me some time to find out the example works only with extractCSS set to true (at least with Nuxt 2.1/2.2). Therefore I added this.
As I don't want to have separate files, I changed it to postcss, and documented this as an alternative. This has previously been discussed here: https://github.com/nuxt/nuxt.js/issues/2195