1.0.9 • Published 4 years ago
netlify-plugin-next-dynamic v1.0.9
netlify-plugin-next-dynamic
Netlify plugin that allows you to deploy dynamic NextJS path statically
Demo
Example site: demo-netlify-plugin-next-dynamic.netlify.app
Build logs: Netlify CI
Usage
You have to build your NextJS with your next build
command first, then export it by next export
After that, add plugin into your Netlify configuration (docs) or just add it from Netlify UI (docs)
[[plugins]]
package = "netlify-plugin-next-dynamic"
Configuration
Normally, you can use it with zero-configuration if .next
and your exported directory are in the same place. If not don't worry, we got you covered!
nextDir
(Optional)
Path that target to your custom .next
directory
[plugins.inputs]
nextDir = "apps/dashboard/.next"