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

tsbase Snippets

Joseph Bayes

|
52 installs
| (0) | Free
Scaffolding snippets for tsbase / tsbase-components
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

tsbase-snippets README

Scaffolding snippets for tsbase / tsbase-components

Requirements

  • tsbase-boilerplate -> repo

OR

  • tsbase -> npm
  • tsbase-components -> npm

Snippets

TypeScript

Base

  • singleton | tsb-singleton
    • Template for a new singleton class
  • validation | tsb-validation
    • Template for a new validation class implement IValidation
  • spec | tsb-spec
    • Template for a class spec

Components

  • component | tsb-c
    • Template for a new tsbase component
  • component-http | tsb-c-http
    • Template for a new tsbase component with injected http client
  • component-page | tsb-c-page
    • Template for a new tsbase page component"
  • component-page-http | tsb-c-page-http
    • Template for a new tsbase page component with injected http client
  • component-injected-service | tsb-c-service
    • Template for a new tsbase component with dependency injected service
  • component-callbacks | tsb-callbacks
    • Empty web component spec callbacks
  • spec-component | tsb-spec-c
    • Template for a tsbase component spec

Scss

  • mobile-first-stylesheet | mfs
    • Scaffolds a mobile first scss stylesheet

Latest Release Notes

2.0.0

  • Change version to 2.0.0 to match current version of tsbase-components.
  • Make updates to various snippets based on changes in tsbase-components version 2.0.0.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft