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

Brick Next Snippets

chenwenhao

|
57 installs
| (0) | Free
Brick Next Snippets for VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VS Code Brick Next Sippets

This extension provide Brick Next and React snippets in Typescript with babel plugins features for Vs Code

Tutorial

Snippets

property - Insert a property annotaions

  /**
   * @default 
   * @required 
   * @description 
   */
  @property()

method - Insert a method annotaions

  /**
   * @description 
   */
  @method()

event - Insert a event annotaions

  /**
   * @detail 
   * @description 
   */
  @event({type: ""}) 

story - Create a story

import { Story } from "@easyops/brick-types";

export const AlexStory: Story = {
  storyId: "",
  category: "",
  type: "brick",
  author: "",
  text: {
    en: "",
    zh: ""
  },
  tags: [],
  description: {
    en: "",
    zh: ""
  },
  icon: {
    lib: "antd",
    icon: ""
  },
  conf: []
}

routeconf - Create a route conf

import { RouteConf } from "@easyops/brick-types";

export const AlexRoute: RouteConf = {
    path: "",
    type: "routes",
    routes: []
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft