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

Problem with PWA #129

Open
nachoalcazar opened this issue Dec 31, 2022 · 2 comments
Open

Problem with PWA #129

nachoalcazar opened this issue Dec 31, 2022 · 2 comments

Comments

@nachoalcazar
Copy link

When i test the component in a SPA, all works OK. ("quasar dev")

When i try to test it in a PWA, same code and same file, it redirects to 404 page ("quasar dev --mode pwa")

if I inspect the code and take the URL https://localhost:8443/pdfjs/web/viewer.html?file=https%3A%2F%2Fstorage.googleapis.com... redirects to 404 page.

Any ideas?

"dependencies": {
"@quasar/cli": "^1.3.2",
"@quasar/extras": "^1.14.2",
"@vueuse/core": "^9.0.0",
"apexcharts": "^3.31.0",
"axios": "^0.27.2",
"core-js": "^3.6.5",
"firebase": "^9.6.10",
"getdomain": "^1.3.1",
"leaflet": "^1.8.0",
"leaflet-control-geocoder": "^2.4.0",
"leaflet-easybutton": "^2.4.0",
"leaflet-switch-basemap": "^1.0.4",
"leaflet.awesome-markers": "^2.0.5",
"leaflet.fullscreen": "^2.4.0",
"leaflet.locatecontrol": "^0.76.1",
"quasar": "^2.8.3",
"speakingurl": "^14.0.1",
"swiper": "^8.2.3",
"v-calendar": "next",
"vanilla-cookieconsent": "^2.8.8",
"vue": "^3.0.0",
"vue-currency-input": "^3.0.0",
"vue-gauge": "^1.0.3",
"vue-google-adsense": "^2.0.0",
"vue-gtag": "^2.0.1",
"vue-i18n": "^9.0.0",
"vue-router": "^4.0.0",
"vue-scriptx": "^0.2.5",
"vue-search-input": "^1.1.4",
"vue-social-sharing": "^4.0.0-alpha4",
"vue3-apexcharts": "^1.4.1",
"vuex": "^4.0.1"
},
"devDependencies": {
"@babel/eslint-parser": "^7.13.14",
"@quasar/app-webpack": "^3.5.7",
"@quasar/quasar-app-extension-qcalendar": "^4.0.0-beta.15",
"@quasar/quasar-app-extension-qpdfviewer": "^2.0.0-alpha.6",
"dotenv": "^16.0.3",
"eslint": "^7.14.0",
"eslint-config-standard": "^16.0.2",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-vue": "^7.0.0",
"eslint-webpack-plugin": "^2.4.0",
"workbox-webpack-plugin": "^6.0.0"
},

@nachoalcazar nachoalcazar changed the title Problem with SPA Problem with PWA Dec 31, 2022
@nachoalcazar
Copy link
Author

With Vite, same code works ok in pwa mode

@alvue
Copy link

alvue commented Feb 6, 2023

qpdf_pwa_notworking

Having the same issue with pwa, works perfect in spa....

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