generator-imstar-component

yeoman generator of imstar component

Usage no npm install needed!

<script type="module">
  import generatorImstarComponent from 'https://cdn.skypack.dev/generator-imstar-component';
</script>

README

generator-imstar-component NPM version Build Status

yeoman generator插件,用于生成IMStar组件

Installation

安装并添加devDependence:

tnpm install --save-dev yo
tnpm install --save-dev generator-imstar-component

package.json中增加add命令:

// package.json

{
  scripts: {
    add: "yo imstar-component"
  }
}

使用:

npm run add

# 根据提示输入相关信息,自动生成新cates页面所需要的文件