A github PROJECT pages repo where I can see and share a mocked SP SPA experience.
Navigate to https://wardbell.github.io/sp-test/.
-
Clear everything out of the
sp-test
repo'smaster
branch except- the (hidden)
.git
folder - this
README.md
- the (hidden)
-
Build with mocking configuration. Because this is a static web server, must build and copy the purely mocked SP.
-
Copy the entire
dist/app
folder into this project. -
Commit and push to github.
-
Wait briefly for github to re-gen the server.
Remember that this repo is PUBLIC.
After testing be sure to revert to this clean state with a reset --hard
.
Remember that the address bar always has something after the https://wardbell.github.io/sp-test
that tells Angular where to navigate.
Because this is a static server and we cannot control 404 behavior, you will get a 404 when you refresh the browser.
The solution is to trim the URL in the browser address bar.