Skip to content

This repository provides a PWA Studio TypeScript template to help you quickly set up a PWA Studio project using TypeScript.

License

OSL-3.0, AFL-3.0 licenses found

Licenses found

OSL-3.0
LICENSE.txt
AFL-3.0
LICENSE_AFL.txt
Notifications You must be signed in to change notification settings

GabrielFNLima/pwa-studio-typescript-template

Repository files navigation

PWA Studio Typescript Template

This repository provides a PWA Studio TypeScript template to help you quickly set up a PWA Studio project using TypeScript.

Table of Contents

Features

  • TypeScript support for PWA Studio
  • Typed css modules

Prerequisites

Before using this template, ensure you have the minimum requirements for using PWA Studio.

How to Use

Run the Scaffolding Tool

To use this template, follow these steps. This example uses Yarn to create a new project:

  1. Run the scaffolding command:

    yarn create @magento/pwa
  2. Specify the template:

    When prompted the question to specify the template, copy and paste the following template package:

    @devgfnl/pwa-studio-typescript-template
    

    Your terminal should look something like this: Select Template

  3. Continue with the installation:

    If the template selected in the terminal output matches the screenshot above, you can proceed with the installation by following the on-screen instructions.