Skip to content

Repository files navigation

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

About

a vscode extension about react component generater

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages