ionic-team / ionic-team/ionic-docs
feat: PWA deployment guide for app built with Vanilla JS Browser-Native Web Component API
- Ngôn ngữ chính
- MDX
- Star
- 621
- Fork
- 3.2k
- Merge trung bình
- 1 ngày 2 giờ
- Pull request đã merge (30 ngày)
- 86
Mô tả
### 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_
Hướng dẫn đóng góp
Hướng nghiên cứu
Start by comparing the existing React and Vue PWA guides, then check how vite-plugin-pwa applies to a Vanilla JS Web Component app. Review the Ionic CLI init and start commands and the absence of a vanilla option. Done means documenting the supported deployment path and how to scaffold an app that reuses Ionic components and CSS utilities.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- javascript, vite
- Lĩnh vực
- documentation, web-dev
- Loại issue
- Tài liệu
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 35/100