https://github.com/saidsay-so/nuxt-buefy-purgecss
A simple wrapper for nuxt-buefy to add support for PurgeCSS.
https://github.com/saidsay-so/nuxt-buefy-purgecss
nuxt nuxt-buefy purgecss
Last synced: 3 months ago
JSON representation
A simple wrapper for nuxt-buefy to add support for PurgeCSS.
- Host: GitHub
- URL: https://github.com/saidsay-so/nuxt-buefy-purgecss
- Owner: saidsay-so
- License: mit
- Created: 2021-06-30T12:35:26.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-16T15:20:15.000Z (over 3 years ago)
- Last Synced: 2025-03-03T03:19:17.448Z (4 months ago)
- Topics: nuxt, nuxt-buefy, purgecss
- Language: TypeScript
- Homepage:
- Size: 1.32 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nuxt-buefy-purgecss
[](https://codecov.io/gh/MusiKid/nuxt-buefy-purgecss)
[](https://github.com/MusiKid/nuxt-buefy-purgecss/actions/workflows/test.yml)A simple wrapper for [nuxt-buefy](https://github.com/buefy/nuxt-buefy),
which adds support for PurgeCSS.## Install
```sh
npm install --save-dev nuxt-purgecss
npm install --save @musikid/nuxt-buefy-purgecss-loader
```## Usage
For now, we have to set PurgeCSS to Webpack mode.
```js
{
buildModules: [
'@musikid/nuxt-buefy-purgecss-loader',
['nuxt-purgecss', {
mode: 'webpack'
}]
],
...
build: {
extractCSS: true,
...
}
}
```## Options
Please see [here](https://github.com/buefy/nuxt-buefy#options).
## Credits
Kudos to @phatj for the work!