@nuxtjs/optimize
[![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
Last updated 3 years ago by pi0 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @nuxtjs/optimize 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 1.1.1                                ...           latest (3 years ago)

6 Versions

  • 1.1.1                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
  • 0.0.1                                ...           3 years ago
Downloads
Today 0
This Week 6
This Month 16
Last Day 0
Last Week 2
Last Month 8
Dependencies (1)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2017 © taobao.org |