February 1, 2022Justin Willis
Today, the PWABuilder project is excited to release a brand new VSCode Extension, the PWA Studio!
The PWA Studio VSCode extension brings everything you need to build high quality PWAs, right to your VSCode. You can:
- Start building a new PWA, with all the best practices, excellent developer experience and exceptional performance that you expect, in seconds using the PWABuilder pwa-starter.
- Learn how to publish your app to the Web with Azure Static Web Apps
- Add a Web Manifest and Service Worker to your existing web app
- Package your PWA for the Microsoft Store, Google Play, and Apple App Store
- Generate Icons for your PWA
- Validate that your PWA is installable in the browser and is ready to publish to the app stores
- Learn more about the features of the Web Manifest to enable new features in your PWA
- Use our snippets to quickly and easily implement native features that can improve the User Experience of your PWA
These features turn VSCode into the best development environment for Progressive Web Apps, ensuring you have tools for every step of your PWA development journey.
First, you need to install the extension. Visit the VSCode Marketplace to install.
The quickest way to get started with the extension is by opening the PWABuilder panel. This can be done by clicking the PWABuilder icon on the left side of VSCode:
You should then see our three sections: Web Manifest, Service Worker, and your Store Ready Checklist. If all three views have the top item checked off, then your PWA is ready to go:
If you are missing one of the items, no problem! The extension will provide you with a button to generate the needed asset:
Finally, the extension also provides buttons at the bottom of VSCode to provide quick access to all of our features:
Build a new PWA with the PWA Studio
Lets go through an example of what the extension is capable of! Today we are going to start building a brand new PWA in about 2 minutes with the extension and the PWABuilder pwa-starter. You will get:
- A ready to go codebase that follows best practices from the start: No more spending time choosing which framework to use, which build system to use, which styling system to use etc. Just start building with the PWABuilder team’s recommended setup. Enjoy Web Components? We proudly use Lit for incredible performance, fast load times and a React-like developer experience.
- A Service Worker setup using Workbox that ties in with the Rollup powered build system. This ensures that your PWA always works offline.
- A full featured Web Manifest, including Icons, with everything that you need to ensure your PWA can be installed from the browser AND is ready to publish to the app stores.
- Everything needed to publish to Azure Static Web Apps
Open a new VSCode Window
Tap the PWABuilder Icon on the left side of VSCode
Start a new PWAbutton in the bottom left corner
And that’s it! A new PWA will then open in its own VSCode window with all the dependencies installed and ready to start coding. Just run tap
Run at the top of VSCode and then
Start Debugging to start building your new PWA!
What kind of apps can you build with the extension and the starter? Anything! Check our demos for some awesome apps built using the starter. Build a new PWA with the extension and starter? Let us know at our Github
This experience becomes even more awesome when you use the Edge VSCode Extension to debug your PWA in VSCode!
Convinced and ready to turn your VSCode into the best development environment for PWAs? Go here to install the extension and get started today! Running into issues? Have any ideas or suggestions? Feel free to open an issue on our Github . Also, looking for an open-source project to contribute to? Check out this link to see all our “help wanted” bugs and features. Just reply to the issue and someone from the team will respond. Thanks for making PWABuilder awesome!
Documentation you may like...
Publish your PWA to Google Play
Publish your PWA to the Microsoft Store
Converting your web app to a Progressive Web App with PWABuilder
PWABuilder can help you generate the basic technical requirements....
Publish your PWA to the iOS App Store