@nuxtjs/optimize
v1.1.1
Published
[![npm](https://img.shields.io/npm/dt/@nuxtjs/optimize.svg?style=flat-square)](https://npmjs.com/package/@nuxtjs/optimize) [![npm (scoped with tag)](https://img.shields.io/npm/v/@nuxtjs/optimize/latest.svg?style=flat-square)](https://npmjs.com/package/@nu
Downloads
147
Keywords
Readme
Optimize (Preset)
Adds more optional optimizers to nuxt project.
Setup
- Add
@nuxtjs/optimize
dependency using yarn or npm to your project - Add
@nuxtjs/optimize
tomodules
section ofnuxt.config.js
{
modules: [
// Simple usage
'@nuxtjs/optimize',
// With options
['@nuxtjs/optimize', { /* options */ }],
]
}
Modules
cssnano
- options: use
options.cssnano
to customize it.