Cannot get Netlify to recognize form in Angular app

Thanks for the tip @bboris! You can also add this information to a netlify.toml file. Or run ng add netlify-schematics to add a toml file with the redirects already in place (currently it will rewrite your existing toml file though, i’m working on that!).

netlify.toml (in root directory)

[build]
  command="ng build --prod && npm run scully"
  publish="dist/static"
[[redirects]]
  from ="/*"
  to="/index.html"
  status=200

Also, if your form is pretty simple like the one listed above, you could use Scully to pre-render it and add the hidden input. I’ve got this working on this project but feel free to ping me with any questions.

I’m hoping to release a post on this soon!

Thanks!