← All code files

netlify.toml

Netlify build settings and an SPA redirect.

[build]
  command = "npm run build"
  publish = "dist"

[[redirects]]
  from = "/*"
  to = "/index.html"
  status = 200

About this tool

Netlify build settings and an SPA redirect.

Ready-to-use netlify.toml — view the content, copy it, or download it with the correct filename. Free and 100% in your browser.