Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>PWA Studio Scaffold SnippetsNew to Visual Studio Code? Get it now.
PWA Studio Scaffold Snippets

PWA Studio Scaffold Snippets

huykon225

|
251 installs
| (0) | Free
Magento PWA Studio snippets by Mason Tran
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Magento PWA Studio Snippets for VS Code

This extension for Visual Studio Code adds snippets for Magento PWA Studio.

See the CHANGELOG for the latest changes

Visual Studio Marketplace

Launch Quick Open:

  • Linux: Ctrl+P
  • macOS: ⌘P
  • Windows: Ctrl+P

Paste the following command and press Enter:

ext install huykon225.vscode-pwa-scaffold

GitHub Repository Clone

Change to your .vscode/extensions VS Code extensions directory. Depending on your platform it is located in the following folders:

  • Linux: ~/.vscode/extensions
  • macOS: ~/.vscode/extensions
  • Windows: %USERPROFILE%\.vscode\extensions
git clone git@github.com:huykon/vscode-pwa-scaffold.git

For development you open the cloned directory and press F5 then VS-Code open new Window with the loaded extension.

PWA Studio Snippets

Snippet Short Snippet Purpose
pst-comp pstc Simple function component
pst-test pstt Snapshot test based on jest
pst-test-case psttc Simple Jest Test case for snapshot
pst-test-lib psttl Snapshot test based on react testing library
pst-export-default psted Default export for index
pst-route pstro Venia-UI route target
pst-route-sub pstros Venia-UI route child target
pst-rich-con pstrc Venia-UI rich content renderer target
pst-hook psth Peregrine hook target
pst-hook-sub psths Peregrine hook target sub
pst-target-special pstts Special feature target
pst-targetable-comp psttc Targetable to component
pst-targetable-adj pstta Targetable to adjustment component
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft