funkhaus / fuxt

A complete Headless WordPress tech stack built on Nuxt.
219 stars 28 forks source link

Handle Netlify _redirects files during build #84

Closed drewbaker closed 8 months ago

drewbaker commented 8 months ago

Currently Netlify wants us to put the _redirects file in /static/ and then does magic to handle the redirects... Seems like we should have _redirects file in the project root, and then the Nuxt build process puts it where it needs to be for Netlify, not living in static always.

drewbaker commented 8 months ago

This works better using a netlify TOML file, not the _redirects file. See Gersh for an example.