ionic-team / ionic-docs

Home Page:https://ionicframework.com/docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feat: PWA deployment guide for app built with Vanilla JS Browser-Native Web Component API

robinEsiea opened this issue · comments

Describe Problem

These is no guide on how to deploy as a PWA an app built with neither Angular, nor React, nor Vue but just Vanilla JS and the Web Component API provided directly by web browsers.

However, looking at the guides for React and Vue it seems that the option using the Vite plugin vite-plugin-pwa are eerily familiar.
Does this plugin work as well for no framework Vanilla JS app?

Since there is no --type=vanilla options available neither for the Ionic CLI init and start commands, should I infer that to reuse Ionic components and Ionic CSS utilities in a Vanilla JS app, one should scaffold the app directly with Vite rather than with the Ionic CLI?

Describe Preferred Solution

No response

Describe Alternatives

No response

Additional Information

No response