All Questions
Tagged with vite tailwind-css
291
questions
0
votes
0
answers
27
views
TailwindCss has different colors in Dist Build and run Dev
I need to help please, I have been building a project with tailwindCss and React, with Vite, but when I build my project then generate the dist carpet, but the colors are different when I run project ...
0
votes
1
answer
44
views
Tailwindcss not working for Vite + Vue3 + Primevue
I'm sry if I have a duplicate question. I went through the questions already in the forum, but still couldn't find a solution I haven't tried yet.
Problem explanation
I'm working on a test project ...
0
votes
1
answer
40
views
Primevue tailwind vue vite problem with component (Toast) styling
I'm setting up my frontend with:
PrimeVue
VUE / Vite
Tailwind
I've followed the docs for unstyled with pt: Lara.
When using a from primevue and set severity to 'danger' the button is styled ...
0
votes
0
answers
53
views
How to add `tailwindcss` to my Vue + Electron Forge project?
I'm doing my first sample project using Vue + Electron Forge with the template vite+typescript. Now I want to add tailwind but I can't seem to find any useful documentation online.
This is my project ...
0
votes
1
answer
39
views
How to build many React apps from the same config files?
So I have a React app, and for my purposes I want to make various React apps but they need to share the same configs - the same modules, the same config files (such as tailwind.config.cjs). How can I ...
0
votes
0
answers
62
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 ...
1
vote
1
answer
30
views
How to implement arrows outside button from the given design?
enter image description here
I am building my react app from a design like this
From the design in the picture:
There are 3 Cols
Left side is dynamic image
Central is dynamic text
Right side is ...
0
votes
0
answers
43
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
1
answer
57
views
How to install Vue/Vite-Tailwind CSS with Bun instead of Node (NPM)?
I want to install Tailwind CSS with Vue/Vite. But I want to do it with Bun instead of Node or Deno.
I've tried to install it but I can't. Please let me know how to install Vue/Vite and Tailwind CSS ...
-1
votes
0
answers
21
views
(Vite:css) Lexical Error (unrecognised text) in Tailwind Nuxt/ Vue
I've followed this thread (https://github.com/tailwindlabs/tailwindcss/issues/1603)to fix my issue which seems pretty similar with that thread, but I have no luck. I've defined spacing: { 'number': '...
0
votes
2
answers
36
views
How can i change background linear gradient to tailwind in config.js to dark mode
I would like add in my tailwind.config.js linear gradient. This not is possible?
exemplo using
`theme: {
extend: {
colors: {
darkGrad: {
DEFAULT: 'linear-gradient(to bottom, #...
1
vote
1
answer
35
views
Tailwind config node_modules content property in yarn workspace monorepo
Hi I have a Yarn workspaces moonorepo. My structure is as follows:
node_modules
-- @domain/mypackage
sources
-- app1
-- -- src
-- -- -- components
-- -- -- -- ...
-- -- tailwind.config.js
-- app2
...
0
votes
1
answer
31
views
Tailwindcss default styles applied but utility classes are not working
I'm trying to set Tailwindcss up in a Vite project. I have two directories storybook and components. I write my code in components and preview them in storybook. As a test I'm trying to apply the ...
1
vote
2
answers
785
views
How do I solve the error "Failed to resolve import "src/lib/utils" from ... Does the file exist?"
I am a beginner in react and am trying to follow this tutorial (https://www.youtube.com/watch?v=_W3R2VwRyF4) on youtube. I am trying to test out the button component I am building, but I keep getting ...
1
vote
0
answers
12
views
How to setup React + Vite + TailwindCSS to be able to use style tag?
I was working on a custom progress bar when I wanted to use the <style> tag to customize the progress value indicator. However, the css was not recognized. How do I have to configure my project ...