Skip to content

reproduce issue with @nuxtjs/tailwindcss module v3.3.0 when using external server

Notifications You must be signed in to change notification settings

kreig303/nuxt-tailwindcss-3.3.0-bug

Repository files navigation

nuxt-tailwindcss-3.3.0-bug

how were you created

% npx create-nuxt-app tailwind-test

how do i use you

% git clone https://github.com/kreig303/nuxt-tailwindcss-3.3.0-bug.git
% cd nuxt-tailwindcss-3.3.0-bug
% npm i
% npm run dev

what do you prove

on line 89 of .lib/module.js in v3.3.0 of @nuxtjs/tailwindcss, there is an attempt to log out the url.

      const url = nuxt.server.listeners ? nuxt.server.listeners[0].url : '/'

This uses nuxt.server.listeners, which is empty if the listener was created with an external server framework. This example uses koa.

About

reproduce issue with @nuxtjs/tailwindcss module v3.3.0 when using external server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published