Download internal/tailwind-config/src/postcss.config.ts from binhugg3/admin: direct link, hf CLI and curl.
- Browser
- Download file 489 Bytes
-
https://huggingface.co/spaces/binhugg3/admin/resolve/main/internal/tailwind-config/src/postcss.config.ts
- Command line
-
hf download hf://spaces/binhugg3/admin/internal/tailwind-config/src/postcss.config.ts
-
curl -L -o postcss.config.ts https://huggingface.co/spaces/binhugg3/admin/resolve/main/internal/tailwind-config/src/postcss.config.ts
489 Bytes
| import config from '.'; | |
| export default { | |
| plugins: { | |
| ...(process.env.NODE_ENV === 'production' ? { cssnano: {} } : {}), | |
| // Specifying the config is not necessary in most cases, but it is included | |
| autoprefixer: {}, | |
| // 修复 element-plus 和 ant-design-vue 的样式和tailwindcss冲突问题 | |
| 'postcss-antd-fixes': { prefixes: ['ant', 'el'] }, | |
| 'postcss-import': {}, | |
| 'postcss-preset-env': {}, | |
| tailwindcss: { config }, | |
| 'tailwindcss/nesting': {}, | |
| }, | |
| }; | |