# Postcss

The program does not provide the corresponding parameter configuration, you can only modify the configuration of Postcss in the form of a plug-in.

# Write Postcss plugin

import { Plugin, PostcssOptions } from '@fmfe/genesis-core';

export class PostcssPlugin extends Plugin {
    public postcss(config: PostcssOptions) {
        config.plugins.push({
            // Plugin
        });
        // example: config.plugins.push(require('tailwindcss'))
    }
}

genesis.dev.ts and genesis.build.ts use this plugin

ssr.plugin.use(PostcssPlugin);