gridsome-plugin-purgecss Tailwind Templates

Gridsome Plugin Purgecss

A Tailwind-friendly Purgecss plugin for Gridsome.

gridsome-plugin-purgecss

DEPRECATED

Merged into the Tailwind plugin.

This plugin will add Purgecss to your Gridsome project.

To use this plugin, run npm install -D gridsome-plugin-purgecss add the following to your gridsome.config.js.

plugins: [
  {
    use: 'gridsome-plugin-purgecss',
    // default options, the following will be included if you don't provide anything
    options: {
      content: [
        './src/**/*.vue',
        './src/**/*.js',
        './src/**/*.jsx',
        './src/**/*.pug',
        './src/**/*.md'
      ],
      defaultExtractor: content => content.match(/[A-Za-z0-9-_:/]+/g) || [],
    }
  }
]

Top categories

Loading Svelte Themes