postcss Questions
6
I'm getting this Postcss warning:
You did not set any plugins, parser, or stringifier. Right now, PostCSS does nothing. Pick plugins for your case on https://www.postcss.parts/ and use them in post...
1
I have a component library using storybook & TailwindCSS and a host app that's also using TaildwindCSS itself that imports the component library. When the classes are generated, I'm seeing that...
Spoliation asked 2/11, 2022 at 16:40
3
Solved
I want each css file I import in my JS to create a new css file for my build. For instance:
import "./app.css";
import "./admin.css";
would create dist/app.css and dist/admin.c...
1
Hi I created the react app using npm create vite and I tried to integrate autoprefixer but it's not working.
vite.config.js
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-re...
Sterner asked 8/9, 2022 at 10:39
1
Solved
Can somebody help translate bracket usage in Tailwind.css?
In Example 1: what does [&_*] mean?
In Example 2: what does the nested bracket combined with _& mean?
Example 1:
document.documen...
Reeves asked 9/9, 2022 at 18:8
1
Solved
I'm developing a react project. I use postcss-nested plugin to support css nested rule, and use babel-plugin-react-css-modules to support css modules in react. Finally, the css styles can work well...
Lexicology asked 8/9, 2022 at 7:56
1
I'm experimenting with Laravel Vite but can't seem to figure out how to have the build command move static assets. Instead, it embeds the images "in" the css file trough base64.
So far I'...
7
Solved
Trying to build an Angular project and I'm getting the errors below. This project built fine last week. I made some changes to other projects that use the Dlls from this project, but no changes to ...
2
Solved
Is it possible to generate fully working sourcemaps using node-sass and postcss autoprefixer when piping output from one to another? I currently have the following in package.json:
"scripts": {
"...
Locris asked 28/11, 2016 at 20:33
1
Solved
This works:
<div class="list p-2" />
This doesn't work:
<style lang="postcss">
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer components {
...
Twink asked 31/5, 2022 at 6:53
2
Solved
This is what I’ve tried so far:
Installed via npm install postcss-nesting --save-dev
Setup vite.config.js:
import { fileURLToPath, URL } from 'url';
import { defineConfig } from 'vite';
import ...
2
I believe there is an option to use a preprocessor in svelte config nowadays. But I have not managed to do it successfully yet... (Guess the community could use a working example both with Rollup a...
3
Solved
Cloned my repo from github as working from a new machine, installed all the dependencies for my project but throwing up this error and not sure what is going on or how to fix it. Have tried uninsta...
Lieabed asked 10/9, 2021 at 16:54
4
Webpack/PostCSS is unable to process .pcss files which have inline comments:
Module build failed: Syntax Error
(77:5) Unknown word
> 77 | // }
| ^
PostCSS part of my Webpack's config:
...
2
Using postcss with plugin postcss-nesting in svelte is quite easy -- adding postcss-nesting to the preprocess config in svelte.config.js is the only thing needed:
import preprocess from "svelt...
6
Solved
The error is coming from the postcss plugin, I think I may have written it incorrectly.
I'm trying to add cssnano and autoprefixer to the postcss plugin.
gulp/node_modules/gulp-postcss/node_modu...
2
Solved
So,
I have appended a home class to body like so:
document.body.classList.add("home")
I want to select appContainer a child element of body class by doing
html body.home #appContainer { .......
Ashelyashen asked 26/2, 2017 at 0:32
4
Solved
UPDATE (2024-05-29): Since there are still people who provide answers (thank you!) I would like to point out that I provided the proper solution/approach with my own answer already. My error was th...
Briney asked 26/10, 2021 at 14:47
5
Solved
This is my first time trying to set up Webpack, so I'm sure I'm missing something here.
I am trying to load my PostCSS files with Webpack, using the ExtractTextPlugin to generate a css file into "...
Heinrike asked 23/1, 2016 at 11:47
3
Autoprefixer not working on parcel 1.9.7: I have my src folder and I have .postcssrc file and styles file in the same folder content inside the .postcssrc file: { "plugins": { "autoprefixer": true ...
Chewink asked 30/8, 2018 at 9:58
12
Solved
I am getting this error whenever I run npm start.
I tried a couple of fixes but none of them work for me. I tried to change the version of autoprefixer to 9.8.6 but it didn't work.
Please help me w...
2
Solved
I followed these steps from the Tailwind docs to add Tailwind CSS v3 to my Nuxt.js v2.15.8 project. Now, when I save a file while having npm run dev running, I get stuck in a rebuilding loop. It ke...
Fusil asked 14/1, 2022 at 21:22
0
I'm working on a TypeScript-React-Next.js-Tailwind CSS application.
I've been trying to configure Storybook with Tailwind CSS. I tried adding PostCSS as an add on as instructed in the docs to no av...
Anneal asked 6/1, 2022 at 4:37
1
I installed postcss-cli autoprefixer and postcss-flexbugs-fixes in my project via npm. There were unmet dep warnings for pff but it did install. I know my postcss and cli is working because when I ...
1
PS C:\Users\Chidiebere\Desktop\bookmark reack landing page> npm start
[email protected] start
npm run watch:css && react-scripts start
[email protected] watch:css
postcss ...
Nanji asked 12/11, 2021 at 23:0
© 2022 - 2024 — McMap. All rights reserved.