@nuxtjs/tailwindcss: 6.3.1
nuxt: 2.16.0
install nuxt 2.16 and add nuxtjs/tailwind, you get an error like:
FATAL Cannot destructure property 'nuxt' of 'this' as it is undefined. 13:32:58
which his actually covered here already: #572
but actually this is caused by installing postcss8, which is not needed anymore on nuxt 2.16 as it is now the default see https://github.com/nuxt/nuxt/releases/tag/v2.16.0
do not install postcss8 for nuxt 2.16.. i tested it locally by just commeting out:
if (isNuxt2()) {
// await installModule("@nuxt/postcss8");
}
in dist/module.mjs
and eveything seems working perfectly fine :-)
it install postcss8 and breaks.
Owner Name | nuxt-modules |
Repo Name | tailwindcss |
Full Name | nuxt-modules/tailwindcss |
Language | TypeScript |
Created Date | 2019-04-04 |
Updated Date | 2023-03-29 |
Star Count | 1285 |
Watcher Count | 12 |
Fork Count | 157 |
Issue Count | 57 |
Issue Title | Created Date | Updated Date |
---|