Single-page (SPA) Mode

Single-page (SPA) Development Server

Run the following command to start the development server in single-page or SPA mode. You can access your SPA app in the browser at http://localhost:8080/. The SPA dev server comes with Hot-Module-Replacement (HMR) working out of the box.

Single-page (SPA) Production Build

Run the following command to build your single-page (SPA) application for production. The build will be stored in the dist/ directory.

Run the SPA production build of your application in your browser at http://localhost:8080/: