Code Monkey home page Code Monkey logo

Comments (10)

rstoenescu avatar rstoenescu commented on July 1, 2024

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.

IgorDePaula avatar IgorDePaula commented on July 1, 2024

from quasar-template-pwa.

rstoenescu avatar rstoenescu commented on July 1, 2024

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.

IgorDePaula avatar IgorDePaula commented on July 1, 2024

from quasar-template-pwa.

rstoenescu avatar rstoenescu commented on July 1, 2024

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.

IgorDePaula avatar IgorDePaula commented on July 1, 2024

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.

rstoenescu avatar rstoenescu commented on July 1, 2024

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.

IgorDePaula avatar IgorDePaula commented on July 1, 2024

from quasar-template-pwa.

rstoenescu avatar rstoenescu commented on July 1, 2024

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.

IgorDePaula avatar IgorDePaula commented on July 1, 2024

from quasar-template-pwa.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.