Created
November 27, 2022 07:41
-
-
Save yyyanghj/ea651d09d3be7bb6bd01d558ee33c258 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```sh | |
pnpm add -D postcss tailwindcss autoprefixer postcss-import postcss-nested postcss-color-hexa postcss-simple-vars postcss-preset-env | |
``` | |
```js | |
// postcss.config.js | |
modulex.exports = { | |
plugins: { | |
'postcss-import': {}, | |
'postcss-simple-vars': {}, | |
'tailwindcss/nesting': {}, | |
tailwindcss: {}, | |
autoprefixer: {}, | |
'postcss-preset-env': { | |
features: { 'nesting-rules': false }, | |
}, | |
'postcss-color-hexa': {} | |
} | |
} | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment