Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>create-func-comNew to Visual Studio Code? Get it now.
create-func-com

create-func-com

wanpp

|
259 installs
| (0) | Free
generate react component by right click/右键创建react函数式组件
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

create-func-com

中文说明

a vscode extension about react component generater
vscode Marketplace

  1. component(function component) templates can be generated
  2. page templates can be generated

Install

  • click the link of Marketplace to install
  • or in the vscode's EXTENSIONS menu to search 'create-func-com' and install

Use

In the vscode explorer, select the root folder where the component or page needs to be created, and select the "Generate component(react)" or "Generate page(react)" option from the right-click menu.

Generated code structure:

1. component

YourComponentName
└───assets
│     index.tsx
│     styles.css

2. page

your-page-name
└───page
|     └─index
|         └─components
│             └─App
│               └─assets
│               | index.tsx
│               | styles.css
│
│   index.html
│   index.tsx
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft