Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

Sorry, you do not have permission to ask a question, You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please type your username.

Please type your E-Mail.

Please choose an appropriate title for the post.

Please choose the appropriate section so your post can be easily searched.

Please choose suitable Keywords Ex: post, video.

Browse

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise

Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise Logo Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise Logo

Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise Navigation

  • Home
  • About Us
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • About Us
  • Contact Us
Home/ Questions/Q 4795

Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise Latest Questions

Author
  • 61k
Author
Asked: November 27, 20242024-11-27T03:19:11+00:00 2024-11-27T03:19:11+00:00

#15 – Tools: Getting Started / Building New PWA

  • 61k

Welcome to Day 15 of #30DaysOfPWA! New to the series? Three things you can do to catch up:

  • Read the kickoff post below for context.
  • Watch the GitHub Repository for updates.
  • Bookmark #30DaysOfPWA Blog for resources.

Microsoft Azure

Welcome to #30DaysOfPWA

Nitya Narasimhan, Ph.D for Microsoft Azure ・ Feb 14 '22

#pwa #pwabuilder #webdev #beginners

This is a shortened version of this canonical post for the #30DaysOfPWA.


About The Author

Today's post is authored by Justin Willis – a member of the PWABuilder team at Microsoft. Follow Justin at @justinwillis96 or here on dev.to.


Welcome to day week 3 day 1 of the 30 Days of PWA series! Today's blog post will introduce new tools from the PWABuilder project – including PWA Studio and PWA Starter. We'll use these tools to create a new PWA with just a few clicks, then dive into some of the tools behind this process.


Introduction

Hello! For today’s post on the 30 Days of PWA series, we will be getting started with some new tooling from the PWABuilder Project! The PWABuilder team has been working on tools for developers at any step of the building process, from starting a brand new PWA to packaging your existing PWA for the app stores.

In this article, we will focus on PWA Studio, a new VSCode Extension from the PWABuilder project, and the PWA Starter, also from the PWABuilder team, a codebase template to help you get started with building new PWAs.


Getting Started + Demo

Let's start building a new Progressive Web App using PWA Studio! PWA Studio's Start a new App feature creates your app using the PWA Starter.

  • [1] Install PWA Studio from the VSCode Marketplace.
  • [2] Once installed, click the PWABuilder Icon on the left side of VSCode

The PWABuilder icon on the left side of VSCode

  • [3] You should now see a Start new PWA button in the bottom bar of VSCode. Click this button to start generating a PWA.

The start new pwa button can be found in the bottom left

  • [4] Enter your repository name when prompted, this is normally the name of your app.
  • [5] Your PWA will be generated using the Starter and all of your dependencies will be installed!
  • [6] At this point, you are now ready to start coding! Click F5 or Click Run and Start Debugging at the top of VSCode. Your new PWA will now open in dev mode, with auto-reload, in its own App window. Enabling you to build your PWA in an app-first manner.

Your new app will open in its own app window!


Under the Hood

PWA Starter

The PWA Starter Github homepage

The PWA Starter is a code template, similar to what tools like create-react-app or the Angular CLI can generate.

With the PWA Starter, 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
  • Uses the Fluent Web Components, you can build native looking PWAs on Windows
  • Has everything needed to be installable in the browser
  • Is ready to be packaged for the app stores using PWABuilder

PWA Studio

The PWA Studio extension running in VSCode

PWA Studio is an extension that brings everything you need to build PWAs to VSCode. When you install PWA Studio, you can:

  • Start building a new PWA in seconds using the PWABuilder pwa-starter.
  • Learn how to publish your app to the Web with Azure Static Web Apps
  • Add a Web App 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 using the Web App Manifest to enable new features in your PWA
  • Use the snippets to implement native features that can improve the User Experience of your PWA.

And that was how we use the new PWA Studio VSCode Extension and the PWA Starter to start building a PWA with just a few button clicks!

In tomorrow's post, we'll dive into converting our existing website to a PWA!


Resources

  • PWABuilder Project
  • Install PWA Studio
  • The PWA Starter
  • VSCode
  • Fluent Web Components
  • Workbox

Want to read more content from Microsoft technologists? Don't forget to follow Azure right here on dev.to:


beginnerspwapwabuilderwebdev
  • 0 0 Answers
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

Sidebar

Ask A Question

Stats

  • Questions 4k
  • Answers 0
  • Best Answers 0
  • Users 1k
  • Popular
  • Answers
  • Author

    How to ensure that all the routes on my Symfony ...

    • 0 Answers
  • Author

    Insights into Forms in Flask

    • 0 Answers
  • Author

    Kick Start Your Next Project With Holo Theme

    • 0 Answers

Top Members

Samantha Carter

Samantha Carter

  • 0 Questions
  • 20 Points
Begginer
Ella Lewis

Ella Lewis

  • 0 Questions
  • 20 Points
Begginer
Isaac Anderson

Isaac Anderson

  • 0 Questions
  • 20 Points
Begginer

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help

Footer

Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise

Querify Question Shop: Explore, ask, and connect. Join our vibrant Q&A community today!

About Us

  • About Us
  • Contact Us
  • All Users

Legal Stuff

  • Terms of Use
  • Privacy Policy
  • Cookie Policy

Help

  • Knowledge Base
  • Support

Follow

© 2022 Querify Question. All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.