Can I generate tailwind css in another way?

Viewed 343

I would like to generate all the grid related css to a file with a few modifications like prefix and media queries using the tailwind.config.js file, without having to have them specified in a html,js,framework file?

Is that possible?

As I can see it now purge/safelist with a regex is the option?

like

module.exports = {
  purge: {
    enabled: true,
    options: {
      safelist: ['/place-/g', '/justify-/g']
    }
  }
}

Thankful for any help on this.

Please note, I'm not into in setting up a "fake html page" with classes, as my use case might grow overtime.

1 Answers
Related