Skip to content

An egg plugin for using nuxt render programatically

License

Notifications You must be signed in to change notification settings

saqqdy/egg-nuxt-tool

Repository files navigation

egg-nuxt-tool

An egg plugin for using nuxt render programatically

NPM version Codacy Badge Known Vulnerabilities npm download License

Sonar

Install

# use pnpm
$ pnpm install egg-nuxt-tool

# use yarn
$ yarn add egg-nuxt-tool

Usage

// {app_root}/config/plugin.js
exports.nuxt = {
  enable: true,
  package: 'egg-nuxt-tool'
}

Configuration

// {app_root}/config/config.default.js
exports.nuxt = {
  whitePath: [/^\/java\//, '/public', '/graphql'], // whiteList
  ...nuxtConfig // nuxtConfig
  // ...
}

see config/config.default.js for more detail.

Change logs

Change logs

Questions & Suggestions

Please open an issue here.

License

MIT