Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kreig303/nuxt-tailwindcss-3.3.0-bug
reproduce issue with @nuxtjs/tailwindcss module v3.3.0 when using external server
https://github.com/kreig303/nuxt-tailwindcss-3.3.0-bug
Last synced: 19 days ago
JSON representation
reproduce issue with @nuxtjs/tailwindcss module v3.3.0 when using external server
- Host: GitHub
- URL: https://github.com/kreig303/nuxt-tailwindcss-3.3.0-bug
- Owner: kreig303
- Created: 2020-12-03T11:49:26.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-03T12:09:50.000Z (almost 4 years ago)
- Last Synced: 2024-10-17T02:49:03.444Z (about 1 month ago)
- Language: Vue
- Size: 121 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nuxt-tailwindcss-3.3.0-bug
## how were you created
```sh
% npx create-nuxt-app tailwind-test
```## how do i use you
```sh
% 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.
```js
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`.