antd-vue-materilas

This is a material project

Usage no npm install needed!

<script type="module">
  import antdVueMaterilas from 'https://cdn.skypack.dev/antd-vue-materilas';
</script>

README

自定义物料初始模板

简介

用于自定义物料,支持自定义区块、布局、模板

使用

安装开发者工具

$ npm install ice-devtools -g

区块预览

$ cd blocks/ExampleBlock
$ npm install
$ npm run start

模板预览

$ cd scaffolds/ExampleScaffold
$ npm install
$ npm run start

添加物料

# 根据提示自定义添加
# 需要到根目录下添加
$ ice-devtools add
 Install dependencies
    npm install

  Starts the block development server.
    cd blocks/ExampleBlock
    npm install
    npm start

  Starts the scaffold development server.
    cd scaffolds/ExampleScaffold
    npm install
    npm start

  Generate materials json.
    npm run generate

  You can upload the JSON file to a static web server and put the URL at Iceworks settings panel.
  You will see your materials in Iceworks

  We suggest that you can sync the materials json to fusion or unpkg by run:
    npm run sync  or  npm run sync-unpkg

发布

sh npm-publish.sh

查看发布

unpkg.com/:package@:version/:file