Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(client): support PWA #168

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

feat(client): support PWA #168

wants to merge 1 commit into from

Conversation

9cats
Copy link

@9cats 9cats commented May 18, 2023

No description provided.

@9cats
Copy link
Author

9cats commented May 18, 2023

好像有问题欸,这样写的话,只有 client/app 构建后的文件会被 serviceworker 预缓存 (vue.js, vue-i18n.js 等都不会被预缓存)

@shigma
Copy link
Member

shigma commented May 18, 2023

不能简单这么做,在支持 PWA 之前得先解决 hash 文件名的问题。但是 hash 的结果就是无法正确索引文件。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants