Nerdy Programmers Mingling
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

@nuxtjs/optimize

1.1.1 • Public • Published

Optimize (Preset)

npm npm (scoped with tag)

Adds more optional optimizers to nuxt project.

Setup

  • Add @nuxtjs/optimize dependency using yarn or npm to your project
  • Add @nuxtjs/optimize to modules section of nuxt.config.js
{
  modules: [
    // Simple usage
    '@nuxtjs/optimize',
  
    // With options
    ['@nuxtjs/optimize', { /* options */ }],
  ]
}

Modules

cssnano

  • options: use options.cssnano to customize it.

Keywords

none

install

npm i @nuxtjs/optimize

Downloadsweekly downloads

339

version

1.1.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability