Skip to content
Webpack Dashboard integration for Nuxt
Branch: master
Clone or download
Latest commit 4cbd7d7 Feb 19, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib Only run module in dev Nov 1, 2017
.gitignore Initial commit Nov 1, 2017
CHANGELOG.md chore(release): 2.0.0 Feb 19, 2019
LICENSE Create LICENSE Nov 13, 2017
README.md Add link to Nuxt repo Nov 2, 2017
package.json chore(release): 2.0.0 Feb 19, 2019
renovate.json Add renovate.json Jan 14, 2019
yarn.lock chore: Rebuild lockfile Feb 19, 2019

README.md

Webpack Dashboard Module

Webpack Dashboard integration for Nuxt

Install

Install the package:

yarn add nuxt-webpackdashboard -D
# or npm i nuxt-webpackdashboard -D

Setup

  • Add nuxt-webpackdashboard to nuxt.config.js:
// nuxt.config.js

{
  modules: [
    'nuxt-webpackdashboard',
  ],
}
  • In package.json, modify the dev script to run with webpack-dashboard:
{
  "scripts": {
    "dev": "webpack-dashboard -- nuxt",
  },
}

Options

CLI options can be added in your package.json:

{
  "scripts": {
    "dev": "webpack-dashboard -m -- nuxt",
  },
}

Webpack plugin options can be passed to Webpack Dashboard in Nuxt config's modules sections:

// nuxt.config.js

{
  modules: [
    ['webpackdashboard-module', {
      port: 3001,
    }],
  ],
}

Or by adding a webpackDashboard key:

// nuxt.config.js

{
  webpackDashboard: {
    port: 3001,
  },
}
You can’t perform that action at this time.