Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>create-componentNew to Visual Studio Code? Get it now.
create-component

create-component

gaokuan

|
61 installs
| (0) | Free
create component from editor folder context
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CreateComponent README

create react component at editor folder menuContext. 在文件夹菜单创建react组件, 分多个模式

Features

react

syntax result 效果
name create react component folder with default config 以默认配置创建react组件文件夹
name.page nextjs 直接创建nextjs page

vue

syntax result 效果
name create vue component folder with default config 以默认配置创建vue组件文件夹
name -s direct create react component file 直接创建单文件组件
name -l create vue list 列表组件
name -f create vue form 表单组件
name -lf create vue form and list 同时创建列表和表单组件

参数路径

高级配置

Extension Settings

Known Issues

Release Notes

1.0.0

新增nextjs场景

0.1.1

  • change vscode engines to 1.40.0

0.1.0

  • init project
  • add react support
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft