strapi-plugin-serve-next

1.0.0 • Public • Published

Strapi plugin serve-next

This plugin will redirect fallback requests to a next server running under strapi.

Configuration

  • Enable serve-next middleware and put it to the end of the loading order.
  • Customize settings in /config/middleware.js (section: settings["serve-next"])
    • path: the path of next project folder, relative to strapi project directory. (default: 'next')

Additional Configuration

I recomment to add next folder admin.watchIgnoredFiles section to avoid unnecessary strapi restarts during development (path.join(process.cwd, "<next_folder>/**"))

Readme

Keywords

none

Package Sidebar

Install

npm i strapi-plugin-serve-next

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

3.74 kB

Total Files

5

Last publish

Collaborators

  • apisc