@liuqh/easy-create-component
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

快速生成组件目录

一个团队内统一的风格比正确的更重要 该 cli 是为了在项目中快速生成统一标准的项目文件目录。

需要确保项目中具有src目录,及其以下子目录

  • src/components
  • src/pages

安装

  • npm

    npm install -D @liuqh/easy-create-component

  • yarn

    yarn add -D @liuqh/easy-create-component

  • pnpm

    pnpm add -D @liuqh/easy-create-component

使用

  1. npx store create [component_name]

更新日志

  • 2022年08月19日17:29:16
    • 增加文件名的大驼峰格式验证
    • 增加组件的容器样式名(增加hash值为后缀,防止污染全局样式)
    • 修复组件样式文件没有正确引入的问题

Readme

Keywords

none

Package Sidebar

Install

npm i @liuqh/easy-create-component

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

8.32 kB

Total Files

9

Last publish

Collaborators

  • liuqh