hugh 的个人博客

vuePress-theme-reco hugh 的个人博客    2021
hugh 的个人博客

Choose mode

  • dark
  • auto
  • light
Home
分类
  • 前端
  • fe-robot
  • 前端监控
标签
专题
  • femonitor
  • jsby
  • fe-robot
TimeLine
工具
全版

hugh 的个人博客

154

Article

320

Tag

Home
分类
  • 前端
  • fe-robot
  • 前端监控
标签
专题
  • femonitor
  • jsby
  • fe-robot
TimeLine
工具
全版
  • 基础

    • 扩展和子命令插件机制-fe-robot
      • 参数
      • 参数
    • 映射型插件机制-fe-robot
    • 插件编写-fe-robot
      • 可选
    • 插件收集整理_-fe-robot
    • 插件管理-fe-robot
    • 插件本地测试-fe-robot
      • 可选
  • 插件使用

  • 模板型(TODO)

  • 工具型(TODO)

插件编写_-_fe-robot

vuePress-theme-reco hugh 的个人博客    2021

插件编写-fe-robot


hugh 的个人博客 2020-12-12 23:14:40 fe-robot

# 功能描述

为解决如何快速创建插件的问题

# 生效版本

v0.1.3

# 参数

  • pluginName 插件目录, 会使用fe-robot-plugin-{pluginName}作为插件名称,并在当前目录下已pluginName作为目录名生成目录

# 可选

  • -n --name:插件名称,作用同pluginName
  • -d --desc:插件描述

# demo

frc genPlugin testabc -d 测试插件

# 测试
cd testabc
npm install
frc link
frc testabc
1
2
3
4
5
6
7