April 2017
Intermediate to advanced
454 pages
12h 51m
English
To complete this recipe, we will need to switch to history mode. History mode only works when the app is running on a properly configured server. How to configure a server for SPA is out of the scope of this book (but the principle is that every route gets redirected from the server side to index.html).
We will use an npm program to launch a small server; you are expected to have npm installed (you can take a look at the Choosing a development environment recipe to find out more about npm).
Read now
Unlock full access