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

How can add service-worker into boilerplate ? #26

Open
MinhPhuPham opened this issue Dec 19, 2021 · 1 comment
Open

How can add service-worker into boilerplate ? #26

MinhPhuPham opened this issue Dec 19, 2021 · 1 comment

Comments

@MinhPhuPham
Copy link

MinhPhuPham commented Dec 19, 2021

I've tried to add service worker to the project. But it seems not to work. Can you add the next branch for this solution?
The topic I read: https://dev.to/voodu/vue-3-pwa-service-worker-12di

My Error when add service into base.config file:

Error: NormalModuleFactory.afterResolve (CaseSensitivePathsPlugin, sw-plugin-after-resolve) is no longer a waterfall hook, but a bailing hook instead.
Do not return the passed object, but modify it instead. 
Returning false will ignore the request and results in no module created.

image:
Screen Shot 2021-12-19 at 11 19 27

*Note: I added join function into .paths file

@sprucify
Copy link

sprucify commented May 5, 2022

I also have difficulties implementing PWA in this boilerplate.
I do have a serviceworker.js, but there is no manifest.json generated

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

No branches or pull requests

2 participants