npm install fisp-widget -g
fw 是一个帮助管理 fis-plus widget 的工具(没卵用),它会自动在项目目录下查找widget 目录,并在下面增删查 widget 组件
fw add 添加一个helloworld 组件
-
fw add helloword
-
fw add helloword --ext tpl,js,css
-
fw add helloword -e tpl,js,css
options -e, --ext:the extensions
fw rm 删除一个helloworld 组件
fw rm helloword
fw list 列出统计所有的组件
fw list