New Oriental Technology
Dec 14, 2020 · Frontend Development
Understanding SPA Router: Hash vs History Mode and Server Configuration
This article explains how single‑page applications use router mechanisms, compares hash and history routing modes, and demonstrates the required server‑side (Node) and Nginx configurations to make history mode work without page reloads, including code examples and best‑practice tips.
RouterSPAfrontend
0 likes · 7 min read