npm.io
0.0.3 • Published 7 years ago

@100tal-seg/seg-react-material-template

Licence
MIT
Version
0.0.3
Deps
0
Size
728 kB
Vulns
0
Weekly
0

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

Keywords