Comments (6)
I'll try that setup. I use a framework called elm-pages which runs with Vite, and haven't had luck with tailwind cli so far which is why I used postcss this far.
At this point I removed Daisy UI from my project and refactored it out so the deploy can proceed, but if I have time this weekend I'll try to work it back in.
from daisyui.
Thank you @nsadeh
for reporting issues. It helps daisyUI a lot 💚
I'll be working on issues one by one. I will help with this one as soon as a I
find a solution.
In the meantime providing more details and reproduction links would be
helpful.
from daisyui.
It's probably an issue from one of the build tools or their dependencies. And since it's not giving an error, it's not easy to guess which one is the problem.
Unfortunately there's nothing I can fix about it on our side.
Can you try with the latest version of Node and the latest version of all NPM dependencies?
from daisyui.
Here are my dependencies:
"devDependencies": {
"@fullhuman/postcss-purgecss": "^6.0.0",
"autoprefixer": "^10.4.19",
"concurrently": "^8.2.2",
"daisyui": "^4.10.5",
"elm-codegen": "^0.5.3",
"elm-optimize-level-2": "^0.3.5",
"elm-pages": "^3.0.14",
"elm-review": "^2.11.1",
"elm-tooling": "^1.15.1",
"lamdera": "^0.19.1-1.2.1-1",
"postcss": "^8.4.38",
"postcss-cli": "^11.0.0",
"tailwindcss": "^3.4.3",
"vite": "^5.2.10",
"vite-plugin-webfont-dl": "^3.9.3"
},
Here is a simplified dockerfile that has the same issue:
# Stage 1: Build the project
FROM node:latest AS builder
# Set the working directory
WORKDIR /app
# Copy package.json and package-lock.json (or npm-shrinkwrap.json) for npm install
COPY package*.json ./
COPY elm-tooling.json ./
# Install dependencies
RUN npm cache clean --force
RUN npm install
# Copy the rest of your application's source code from your host to your image filesystem.
COPY . .
# Build the project
RUN npm run build
CMD ["echo" "Hello there!"]
It still hangs.
I realize this is a difficult bug to solve. Could it be in the Tailwind plugin code rather than DaisyUI?
from daisyui.
You don't need @fullhuman/postcss-purgecss
anymore (it was only needed for older Tailwind versions) Here's what's needed for PostCSS setup:
https://tailwindcss.com/docs/installation/using-postcss
Also you can try using TailwindCSS CLI instead of postcss
and postcss-cli
:
https://tailwindcss.com/docs/installation
from daisyui.
I'm going to close this issue because the problem can't be from daisyUI. it's probably one of build tools.
Feel free to continue the conversation and let me know if you have any questions.
from daisyui.
Related Issues (20)
- bug: always disabled button when disabled attribute is present HOT 2
- docs: Hero with overlay image HOT 1
- bug: showModal using onKeyDown Enter not working HOT 2
- docs: Modal styling and animation missing HOT 3
- bug: tabs boxed with radio forces unrounded bottom corners HOT 1
- The space between children of `.join` is incorrect after changing the default button border width HOT 1
- bug: Incorrect type declaration files for Node16/NodeNext module resolution HOT 1
- bug: prettier plugin for tailwind write credits and sometime tailwind lsp stopped on vim HOT 3
- bug: Modal Dialog Adds A None Existent Scrollbar Spacing To Backdrop HOT 6
- docs: search weirdness HOT 2
- docs: Highlight that the first theme becomes the default HOT 2
- bug: Lagging on the opening animation of collapse components only on Firefox HOT 1
- bug: [WARNING] Unexpected "*" when building. HOT 5
- bug: Black theme borders not rounded HOT 2
- bug: stepper (active step) z-index is higher then of the drawer HOT 1
- bug: White area overlays part of the drawer's content HOT 2
- bug: cant use large image in drawer HOT 2
- bug: countdown on mobile screen broken HOT 1
- bug: tabpanel on the *real* device does not fill full width. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from daisyui.