{"repo":"Developmint/nuxt-purgecss","free":true,"listed":false,"github":"https://github.com/Developmint/nuxt-purgecss","clone":"git clone https://github.com/Developmint/nuxt-purgecss.git","description":"Drop superfluous CSS! A neat PurgeCSS wrapper for Nuxt.js","language":"TypeScript","stars":499,"topics":["nuxt","nuxtjs","nuxt-module","purgecss","webpack","postcss","nuxt-purgecss","hacktoberfest","vue"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Nuxt PurgeCSS - Drop superfluous CSS! [![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![Github Actions CI][github-actions-ci-src]][github-actions-ci-href] [![Codecov][codecov-src]][codecov-href] [![License][license-src]][license-href] 📖 Release Notes Features Remove unneeded CSS with ease Sane default settings Built on top of purgecss Nuxt 2 and Nuxt 3 support (Use v1.0.0 for Nuxt2 support for now) Fully tested! Setup 1. Add nuxt-purgecss dependency to your project 2. Add nuxt-purgecss to the modules section of nuxt.config.{js,ts} :warning: If you are using Nuxt 2 , please use version 1 of the module. Options Defaults Before diving into the individual attributes, please have a look at the default settings of the module. The defaults will scan all your .vue , .js and .ts files in the common Nuxt folders, as well as checking your nuxt.config.js (or .ts ) for used classes. Furthermore, typical classes (like these needed for transitions, the nuxt link ones or those set when using scoped styles) are whitelisted already. These settings should be a good foundation for a variety of projects. Properties in-depth enabled Type: Boolean Default: !nuxt.options.dev (Disabled during nuxt dev , enabled otherwise) Enables the module when set to true . PurgeCSS options Please read the PurgeCSS docs for information about PurgeCSS-related information. Examples Default setup Customize options Caveats Don't forget to add paths to page","default_branch":null,"files":null,"tree":[],"storefront":"/r/Developmint","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Developmint/nuxt-purgecss/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}