Comments (9)
Personally, I think this is an amazing resource and should be highlighted in as many places as possible- I would love it to be in the installation guide.
vue-cli-template-pwa
makes sense but I think template is implied in cli, so perhaps vue-cli-pwa
would be cleaner and easier to remember.
Exciting! Great work! 🌟
from pwa.
I'm on vacation this week - will be working on some CLI polishing after getting back and figure out what to do next :)
from pwa.
Evan and I had a productive call about next steps yesterday (including adding these features into the default template).
For the short term we're going to keep this template separate but explore how we can make the default template output a PWA during the summer.
Evan is going to move this repo over to the templates organization, look at any further changes that need to be made and we'll then look at releasing.
from pwa.
Now that the template has been officially launched, we're going to close this issue up. Please feel free to file bugs for any specific behavior that isn't working as expected.
from pwa.
Do you think it's possible to extend the webpack template with this template features to offer two new options at init time?
- manifest file
- SW precache
from pwa.
@addyosmani how can we use this template today? These steps below from https://github.com/vuejs/pwa#usage don't exactly tell us how to use this PWA template
$ npm install -g vue-cli
$ vue init webpack my-project
$ cd my-project
$ npm install
$ npm run dev
from pwa.
from pwa.
@CharlesOkwuagwu You can download the repository zip to your PC. Unzip the folder and then run
vue init /path/to/downloaded/folder my-project
This worked for me to try it out, got a 94 lighthouse score on a server with https.
from pwa.
vue-cli does support any template on GitHub. There is no need to download the zip, you can initiate a project by this command:
vue init vuejs/pwa my-project
from pwa.
Related Issues (20)
- Suggestion: serviceWorker.register path and routes issue HOT 2
- Offline support when using html5 history api HOT 1
- HELP: VueX and no-param-reassign HOT 3
- Active in Development? HOT 2
- SPA app using angular not working offline for pages other than Index
- Problem when importing firebase-messaging-sw to SW service worker. HOT 2
- Tapable is deprecated in Webpack 4 HOT 4
- offline caching options for pwa HOT 1
- Step missing in installation?
- Cloudflare's Under Attack Mode breaks Service Worker
- how i dynamically change my manifest.json file HOT 1
- How to disable "Add to Homescreen". HOT 1
- Failed to register a ServiceWorker
- Uncaught TypeError: Cannot read property 'call' of undefined
- PWA themeColor is not picking value from manifest.json file HOT 2
- Service Worker Error TypeError: Failed to register a ServiceWorker: A bad HTTP response code (404) was received when fetching the script.
- Failed to register a ServiceWorker when app run on network address
- POST API not calling on mobile [Chrome v72.0.*] HOT 1
- Uncaught (in promise) DOMException
- Service Worker is not working as expected in react typescript
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 pwa.