pwa-module icon indicating copy to clipboard operation
pwa-module copied to clipboard

Nuxt Manifest publicPath does not change during runtime

Open tommcclean opened this issue 4 years ago • 4 comments

In Nuxt 2.15.2 the build/publicPath property is now evaluated during runtime which means we can use this to load assets from an environment specific CDN - thats great.

However while this works for assets, the manifest still comes from the publicPath as at the time of yarn build and is not evaluated during runtime.

It would be great if this would work for the manifest publicPath too, as otherwise the manifest cannot be loaded.

tommcclean avatar Mar 01 '21 11:03 tommcclean

Related to https://github.com/nuxt/nuxt.js/pull/8520

bblanchon avatar Mar 08 '21 15:03 bblanchon

In addition to publicPath, start_url should be changeable at runtime as well.

bblanchon avatar Mar 09 '21 18:03 bblanchon

Why did you close the issue, @tommcclean? Is this fixed?

bblanchon avatar Oct 23 '21 13:10 bblanchon

Must have closed the wrong one, I had several related. Though I stopped using this module months ago

The publicPath in the build property now works; that is what I meant to close.

tommcclean avatar Oct 30 '21 19:10 tommcclean