All Questions
Tagged with tailwind-css npm
147
questions
0
votes
0
answers
67
views
Why is my tailwind css that is directly on my component in my npm package not showing?
I'm encountering an issue with a custom NPM package I've created using Vite, React, and library mode. I've configured Tailwind CSS in the package and added a few custom CSS classes. While everything ...
0
votes
0
answers
45
views
Issues with Tailwind CSS Initialization in Laravel Project
I'm trying to set up Tailwind CSS in my Laravel project following the official Tailwind CSS documentation, but I'm encountering an issue when running the npx tailwindcss init -p command.
After I ...
0
votes
0
answers
75
views
How to make Hot Reload work with TailwindCSS and a splitted blazor solution
So I'm trying to use tailwindcss (with hot reload) in my blazor project which is structured like this :
So as you can see, my main project is the "Portal" and it's referrencing the "...
0
votes
1
answer
250
views
Custom Fragments in AstroJS
Currently, starting to learn AstroJS. I was looking into the templates from github and I found this <Fragment> tag and referred astro documentation and that says it can be used for directives. I'...
0
votes
0
answers
203
views
Vite, Tailwind & PostCSS build message and broken CSS
I am currently working on a project that is built using Vite & Tailwind and I am getting the following build message:
A PostCSS plugin did not pass the from option to postcss.parse.
This may ...
0
votes
0
answers
48
views
Transform PPTX file to HTML using Tailwind CSS for design
I have a powerpoint file and i need to convert each slide into HTML and need to use tailwind CSS for the design part.
I tried converting using npm module pptx but did not work. I tried following code -...
0
votes
1
answer
30
views
Resolving 'MODULE_NOT_FOUND' error when integrating Tailwind CSS with npm and yarn
When I attempted to integrate Tailwind CSS into my project using the command "npx tailwindcss init", I encountered the following error:
npm ERR! code MODULE_NOT_FOUND npm ERR! Cannot find ...
0
votes
0
answers
42
views
Installing Tailwind in Laravel project using Vite and NPM
I'm unsure what command to put in the dev script in package.json so that npm run dev works correctly. I'm trying to use Tailwind with Laravel.
All I want is to install Tailwind in my Laravel project ...
0
votes
0
answers
38
views
unable to "vite build" for svelte and its components: skeleton and tailwind
I have tried the same on different version of node (v18 and v20) but still end up with the same error. I am trying to "vite build" svelte and some of its components, namely @skeletonlabs/...
0
votes
0
answers
53
views
I am not able to use tailwind css with React
I'm trying to use tailwindCSS along with react I used the following commands ...........................................................
npm install -D tailwindcss postcss autoprefixer
npx ...
0
votes
2
answers
191
views
Installing Django-tailwindCSSS fails on tailwind strart
I'm installing Django-Tailwind following the instructions:
https://django-tailwind.readthedocs.io/en/latest/installation.html
The Django part works but the part that updates the CSS by runniong the ...
1
vote
0
answers
88
views
Issue with Nativewind CSS Styles Not Displaying
I created an npm package called react-native-toastbox for toast notifications in React Native using nativewind. However, after downloading from npm, the code works, but the CSS (from nativewind) doesn'...
0
votes
1
answer
75
views
How can I see real-time changes are done using Tailwind css with laravel 10
"I need to observe real-time CSS changes while working on Blade files. This project (Laravel 10) is Dockerized, and Tailwind configurations are set up correctly. However, CSS changes are not ...
0
votes
0
answers
73
views
NPM/Yarn Watch won't watch .twig files (tailwind, webpack, laravel-mix)
I have an issue since upgrading packages on a new theme I'm building in Timber & Twig for WordPress. I have older versions of build tools that work no issue.
The problem
When I run yarn watch, ...
-1
votes
1
answer
77
views
Unknown browser query when trying to watch files for tailwindcss
I'm trying to run npx tailwindcss -i ./src/input.css -o ./dist/output.css --watch but it gives me this error:
Error [BrowserslistError]: Unknown browser query `var updateDb = require('update-...