Comments (10)
A PWA needs to be run on a webserver under HTTPS. Build then deploy. The scores are close to 100 when generating the template and running in such environment.
from quasar-template-pwa.
from quasar-template-pwa.
What I am telling is that the PWA requires https to install and work.
Running quasar dev won't install any web worker as that is soly for developing the UI.
What you need is to build the app then deploy on a https webserver.
Please read about PWAs to understand how they work.
from quasar-template-pwa.
from quasar-template-pwa.
What exactly is the issue you are encountering? Give a full detailed description of what commands you type and what you expect the result to be. Thanks.
from quasar-template-pwa.
I expected the least. start the template and everything provided work. I only run:
quasar init pwa folder
cd folder
npm install
npm run dev
But the service worker not install, and not throw errors. It's like a common template, without the features of pwa.
from quasar-template-pwa.
The service worker does NOT install while developing, because you do not need it. It also gets in the way with HMR, just to name one problem. Service worker is only installed on production build. Do a production build, deploy to a server with HTTPS and there you have it.
from quasar-template-pwa.
from quasar-template-pwa.
Not sure I understand your question. If you are referring to your app working as a pwa when built and deployed, then "yes". Develop it like any regular app and when deployed it becomes PWA.
from quasar-template-pwa.
from quasar-template-pwa.
Related Issues (12)
- the new vue-cli already has `pwa` support HOT 1
- Cache busting is not applied to app.js in "dist/js" directory during build
- Library Size Feature Request HOT 1
- [Feature Request] Migrate to Workbox from sw-precache HOT 2
- 0.15 upgrade - dependency was not found HOT 3
- [Feature Request] Dynamic changing the theme at runtime
- A problem about events in quasar HOT 4
- Error when initializing project HOT 1
- [discussion] replace eslint-plugin-html with eslint-plugin-vue? and add stylelint support? HOT 2
- [Bug] PWA template fails in lighthouse PWA audit HOT 7
- [request] PWA starter kit compatible with Cordova wrapping. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quasar-template-pwa.