yyx990803 / laravel-vue-cli-3

Example project using Vue CLI 3 with Laravel
848 stars 183 forks source link

PWA Pre-cache manifest points to blade index file #10

Open tylergets opened 6 years ago

tylergets commented 6 years ago

While this might slightly be out of scope, I wanted to post as others might have had this problem. When using the PWA plugin, the resulting precache manifest has an entry that looks like this. Because index.php is not listed, Chrome Lighthouse fails to identify the start_url and therefore the install app to homescreen option is never triggered.

self.__precacheManifest = [
  {
    "revision": "36d69c06d57b5cafc0700cbcf4103138",
    "url": "/../resources/views/index.blade.php"
  }
];
flkc commented 6 years ago

Any new info on this issue?