postcss Questions

18

Solved

I created a new react-ts app using yarn create @vitejs/app my-app --template react-ts. I installed tailwind using yarn add --dev tailwindcss@latest postcss@latest autoprefixer@latest. I initialized...
Pentecostal asked 20/2, 2021 at 6:20

5

Currently building a React project with ViteJs, which uses TailwindCSS & PostCSS. I would like the tailwind classnames to be obfuscated in the production build. Like object-cover to a2. Also, I...
Qualifier asked 16/6, 2021 at 18:25

3

PostCSS BEM Linter plugin needs component definition for each block which is a time consuming thing to do in a legacy project. Is there a way to use stylelint to check for the classes pattern and ...
Surfboarding asked 7/4, 2017 at 7:52

3

Solved

I'm trying to lint BEM-style using stylelint and stylelint-selector-bem-pattern plugin but can't get it work. My config is the following: node: 5.11.0 gulp-stylelint: ^2.0.2 stylelint-selector-b...
Natalienatalina asked 27/4, 2016 at 12:3

7

I started a project with vite + react + typescript and installed tailwind. Everything was working smoothly until I created a subfolder in /src and added the styles in files inside the subfolder. Th...
Nickens asked 23/3, 2022 at 2:13

4

How do I suppress warnings generated by webpack loading post css files? Warning example: WARNING in ./~/css-loader!./~/postcss-loader!./src/components/Navigator/Navigator.css postcss-custom-prope...
Dogy asked 11/8, 2016 at 7:15

1

I'm currently developing a desktop application using Tauri, SvelteKit, & Tailwind. When I run a dev build of my application I frequently get the following error: [vite] Internal server error: ...
Kilmer asked 31/3, 2023 at 0:20

2

not able to apply tailwind classes via storybook UI in real time, for example, changing the color of a button through the props classes here from bg-red-600 to bg-red-100 doesn't change the color o...
Barty asked 28/3, 2022 at 2:52

4

Solved

I've been upgrading my CRA project to TailwindCSS 3, but now CSS nesting no longer works. Upon starting the server, the console spits out: (8:3) Nested CSS was detected, but CSS nesting has not bee...
Draughtboard asked 11/1, 2022 at 10:35

1

I am trying to use bun instead of npm in docker. I have bun docker image but when I try to build inside a container an error shows that it can not find postcss config. I have my package.json set to...
Polygamy asked 13/9, 2023 at 9:14

2

Solved

This is my first Tailwind CSS project and started with CDN, but I did not always have internet, so I tried it installing using PostCSS, and I am using Vite as my server. Followed this video from C...
Pittman asked 3/1, 2022 at 5:28

4

Solved

I've updated my codebase from Angular 11 to 12 recently, and after that, I just can't deploy my code. I can run ng build and ng serve and it works flawlessly, however, when I run ng build --prod I ...
Bumkin asked 19/6, 2021 at 19:50

6

Solved

I came across this strange error in Svelte; every time I ran npm run dev, this vite error would appear: [vite] Internal server error: Failed to load PostCSS config (searchPath: /Users/Documents/Per...
Theory asked 27/7, 2022 at 10:41

13

Solved

I installed autoprefixer and I get this warning: npm install [email protected] --save-exact WARNING in ./node_modules/bootstrap/dist/css/bootstrap.min.css (./node_modules/css-loader/di...
Milliary asked 5/6, 2022 at 20:52

6

Solved

I cloned this repo https://github.com/tailwindcss/setup-examples/tree/master/examples/nextjs then I updated tailwind.config.js theme: { extend: { color: { primary: "#730000", secondr...
Repetend asked 8/4, 2020 at 15:36

1

Solved

Tailwindcss has clear documentation on how one can generate prefixes for all tailwind classes to better isolate the styles of a particular app from its context. However, I can't seem to find a stra...
Bonded asked 22/2, 2023 at 18:31

1

I am trying to use TailwindCSS combined with SCSS but VSCode always give me an error message when i openning this file, how can i fix it? image for this error my config in postcss file: module.expo...
Hrvatska asked 16/10, 2022 at 4:14

2

Vite actually runs nearly instantly: However, when I try visiting the url, I have a blank page that loads for a while, and after that, everytime I try loading a page for the first time, a similar ...
Denning asked 27/3, 2023 at 2:23

2

I'm starting a new project with angular 4, and I want to integrate with PostCss for use modules such as: Autoprefixer, CSSNext and another modules.
Edlyn asked 27/4, 2017 at 0:56

2

Solved

Apologies if this is an obvious question, this is my first time trying to build a component library. I'm building a React component library with Tailwind CSS 3. When I run the components with Story...

2

Solved

*The following question is related to a previous question I asked, so apologies in advance if I'm being repetitive, but I still haven't been able to resolve my issue. I'm trying to get Storybook to...
Ampere asked 3/2, 2022 at 10:52

10

Solved

i'm trying to install Tailwindcss in my nuxt project I use fresh install from nuxt https://v3.nuxtjs.org/getting-started/installation npx nuxi init nuxt3-app and follow tailwindcss installation ht...
Tilford asked 10/12, 2021 at 9:44

1

Somewhat of a straightforward question that doesn't seem to have very clear answer in the PostCSS docs. I noticed that in the PostCSS Usage Guide they define the postcss.config.js file plugins usin...
Advocacy asked 15/7, 2021 at 23:9

3

Im using autoprefixer with postcss and after moving to a new linux server something must be wrong but I cant figure out what this one could be. I'm getting the error: /home/ec2-user/Enviziion/Muve...
Trek asked 25/2, 2016 at 22:44

1

I am using Scss and Bootstrap for designing my project. In order to remove unused Css with purgeCss , I have customized my postcss.config.js file like this: module.exports = { plugins: [ "pos...
It asked 24/7, 2022 at 4:59

© 2022 - 2024 — McMap. All rights reserved.