Straight to Full Documentation
The PWABuilder pwa-starter is our opinionated, best practices, production tested starter that we use to build all of our PWAs, including PWABuilder itself! The pwa-starter is a starter codebase, just like create-react-app or the Angular CLI can generate, that uses the PWABuilder team's preferred front-end tech stack. We also have a CLI tool to allow you to create a PWA template from the command line.
Install the PWABuilder CLI:
npm i -g @pwabuilder/cli
And create a new app with this command:
pwa create
And start your app locally with:
pwa start
And that's it! Good luck on your Progressive Web App adventure!
With it you get an app that:
- Has no build system to set up and no boilerplate code to add. Everything is included out of the box.
- Has a Service Worker system using Workbox
- Scores close to 100 on Lighthouse out of the box
- Has everything needed to be installable in the browser
- Is ready to be package for the app stores using PWABuilder
- Uses the Azure Static Web Apps CLI which enables emulating your production environment locally, and gets you ready for deploying to Azure Static Web Apps!
and all with just a few button clicks 😊.