ionic-team / ionic-team/ionic-docs

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

未关闭
#3,546 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
triage
主要语言
MDX
星标
621
派生
3.2k
平均合并
1 天 2 小时
30 天内合并 PR
86

描述

### 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](https://developer.mozilla.org/en-US/docs/Web/API/Web_components) 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_

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。