🪞Embedded apps under `static/` get overwritten with the 404 page by Nuxt 2 generate, and how to retire the old Service Worker
On a Nuxt 2 + target:'static' site I dropped a third-party demo app under static/<tool>/index.html and ran into a problem: the generate crawler overwrote it with the 404 app shell. This post covers the cause, the workaround (generate.exclude), and the related cleanup of an old @nuxtjs/pwa Service Worker cache that bit me at the same time.
nuxtnuxt2static-siteservice-worker