Skip to content

feat(client): support PWA#168

Open
9cats wants to merge 1 commit intokoishijs:mainfrom
9cats:main
Open

feat(client): support PWA#168
9cats wants to merge 1 commit intokoishijs:mainfrom
9cats:main

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