0.0.3 • Published 5 years ago

@100tal-seg/seg-react-material-template v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

seg-react-material-template

简介

用于 ice-devtools init 初始化时的物料仓库模板,基于 react 和 next 组件库

使用

$ npm install ice-devtools -g
$ ice-devtools init

区块预览

$ cd my-project/blocks/ExampleBlock
$ yarn
$ yarn dev

布局预览

$cd my-project/layouts/ExampleComponent
$ npm install
$ npm run start

模板预览

$ cd my-project/scaffolds/ExampleScaffold
$ npm install
$ npm run start

脚手架更新步骤

  • .gitignore 改成 _gitignore
  • package.json 改成 _package.json , 修改内容:
    • script: start -> dev
    • publishConfig
    • buildConfig
    • scaffoldConfig
    • name
    • version
    • description