From time to time it is necessary to distribute SPA applications using war files as containers. In my experience this is necessary when:
- You don't have control over deployment infrastructure.
- You're dealing with rigid deployment standards.
- IT people is reluctant to publish a plain old web server.
Anyway, and as described in Oracle's documentation one of the benefits of using war files is the possibility to include static (HTML/JS/CSS) files in the deployment. Thus, it is safe to assume that you could distribute any SPA using a war file as wrapper (with special considerations).