We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
trying to use tailwidncss https://tailwindcss.com/docs/installation/#using-tailwind-with-postcss
postcss.config.js module.exports = { plugins: [ // ... require('tailwindcss'), require('autoprefixer'), // ... ] }
thanks in advance, I appreciate if you can provide a code sample
The text was updated successfully, but these errors were encountered:
import { Plugin, PostcssOptions } from '@fmfe/genesis-core'; export class PostcssPlugin extends Plugin { public postcss(config: PostcssOptions) { config.plugins.push({ // 插件 }); } }
genesis.dev.ts and genesis.build.ts use this plug-in
genesis.dev.ts
genesis.build.ts
ssr.plugin.use(PostcssPlugin);
Sorry, something went wrong.
In the production environment, the following configurations are enabled by default
postcssConfig.plugins.push( ...[ postcssPresetEnv({ browsers: ssr.getBrowsers('client') }), cssnano({ preset: [ 'default', { mergeLonghand: false, cssDeclarationSorter: false } ] }) ] );
No branches or pull requests
trying to use tailwidncss
https://tailwindcss.com/docs/installation/#using-tailwind-with-postcss
thanks in advance, I appreciate if you can provide a code sample
The text was updated successfully, but these errors were encountered: