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

custom indexPath does result in a unusable path for the index page in the precache-manifest.json #2007

Closed
LostKobrakai opened this issue Jul 31, 2018 · 0 comments

Comments

@LostKobrakai
Copy link

Version

3.0.0-rc.10

Steps to reproduce

// vue.config.js
module.exports = {
  indexPath: '../../lib/lending_buddy_web/templates/layout/index.html.eex'
}

This config results in the following service worker manifest. As I'm serving the index markup from a server side framework I'd need "/" to be the url. It might also need to be configurable

What is expected?

self.__precacheManifest = [
  {
    "revision": "f01300d30b274b1d071ffcfd96abd04b",
    "url": "/"
  }, []
];

What is actually happening?

self.__precacheManifest = [
  {
    "revision": "f01300d30b274b1d071ffcfd96abd04b",
    "url": "/../../lib/lending_buddy_web/templates/layout/index.html.eex"
  }, []
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants