nuxt-community / redirect-module

No more cumbersome redirects for Nuxt 2!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support Static generation with Apache or Nginx config generation

edimitchel opened this issue · comments

Hi,
this is a feature request.

This module is great but doesn't work properly in static mode.

What I suggest is to support only static redirect (w/o logic) and generate an Apache or Nginx config from rules established.
Files generated could be added to the dist folder.

I would love this as well; I have a statically generated site and I have around 3500 redirects that needs to be handled. Not sure if it's currently possible with a statically generated site?

For those hosting on Netlify, this is perhaps a relevant option: https://github.com/juliomrqz/nuxt-netlify