/y-server-plugin-nuxt

y-server nuxt plugin

Primary LanguageJavaScriptMIT LicenseMIT

y-server-plugin-nuxt

y-server-plugin-nuxt is a y-server plugin to nuxt request.

Install

npm install y-server-plugin-nuxt

Usage

const yServer = require('y-server');
const nuxtPlugin = require('y-server-plugin-nuxt');

yServer({
  plugins: [
    nuxtPlugin({
      nuxtConfig: {},
    }),
  ],
});

Notes

  • nuxtConfig is the nuxt config.

License

MIT License