[docs] Add documentation for using mux to serve a SPA (#493)

* Add documentation for using mux to serve a SPA

* r -> router to prevent shadowing

* Expand SPA acronym

* BrowserRouter link

* Add more comments to explain how the spaHandler.ServeHTTP method works
This commit is contained in:
Franklin Harding
2019-07-20 07:53:35 -07:00
committed by Matt Silverlock
parent eab9c4f3d2
commit 7a1bf406d6
2 changed files with 90 additions and 0 deletions

2
go.mod
View File

@@ -1 +1,3 @@
module github.com/gorilla/mux
go 1.12