-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Closed
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionAn error in the Docusaurus core causing instability or issues with its execution
Description
Have you read the Contributing Guidelines on issues?
- I have read the Contributing Guidelines on issues.
Prerequisites
- I'm using the latest version of Docusaurus.
- I have tried the
npm run clearoryarn clearcommand. - I have tried
rm -rf node_modules yarn.lock package-lock.jsonand re-installing packages. - I have tried creating a repro with https://new.docusaurus.io.
- I have read the console error message carefully (if applicable).
Description
Upgrading to 3.2 broke the tailwind styling, which I've integrated according to https://medium.com/@bargadyahmed/docusaurus-a-guide-to-seamless-integration-with-tailwind-css-dd202211caac
Here I've added the banner-preview with the custom tailwind integration flathub-infra/documentation@e0dc841 (#272)
It still works fine in dev, but breaks in prod or locally - if I do yarn build and then yarn serve. Unfortunatly the production errors are not helpful.
Basically https://docs.flathub.org/banner-preview/ should be styled. Like this:

Reproducible demo
https://github.com/flathub-infra/documentation
Steps to reproduce
- Checkout repo
- Run
yarn - Run
yarn build - Run
yarn serve - Goto http://localhost:3000/banner-preview
Expected behavior
The page should be styled like in the above image
Actual behavior
The page isn't styled, presumably because tailwind isn't working, after upgrading to 3.2
Your environment
- Public source code: https://github.com/flathub-infra/documentation
- Public site URL: https://docs.flathub.org/
- Docusaurus version used: 3.2
- Environment name and version (e.g. Chrome 89, Node.js 16.4): Shouldn't apply as it's run on github
- Operating system and version (e.g. Ubuntu 20.04.2 LTS): Shouldn't apply as it's run on github
Self-service
- I'd be willing to fix this bug myself.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionAn error in the Docusaurus core causing instability or issues with its execution