@neon9lyph/tetris-component-template
v1.0.0
Published
tetris 组件模版项目
Downloads
116
Readme
@
@{description}
目录结构
├── README.md
├── package.json
├── src
│ ├── index.tsx # 组件主文件
│ ├── style.less # 组件自定义样式文件
├── tsconfig.json # ts 配置
├── babel.config.js # babel 的默认配置
├── typings.d.ts
├── tetris.config.js # Tetris 的配置,包括组件信息,组件开发时工具配置
└── yarn.lock开发
npx tetris-cli init # 建议通过Tetris命令行工具初始化 组件开发项目
yarn start # 本地开发发布组件
yarn run deploy # 发布日常
# 以上命令也可以直接通过下面的命令进行
npx tetris-cli publish