@inkefe/ice-devtools

inke ice 物料开发者工具深度定制

Usage no npm install needed!

<script type="module">
  import inkefeIceDevtools from 'https://cdn.skypack.dev/@inkefe/ice-devtools';
</script>

README

@inkefe/ice-devtools

官方ice-devtools的深度定制, 支持vue物料的开发和构建, 增加一些loader, 完善开发流程

Installation

Prerequisites: Node.js (>=8.x), npm version 5+.

$ npm i @inkefe/ice-devtools -g

Quick Start

// vue物料
cd vue-mastrials/blocks/{somePage}
inkefe-ice-devtools start --type=vue
inkefe-ice-devtools build --type=vue

// react物料
cd react-mastrials/blocks/{somePage}
inkefe-ice-devtools start --type=react
inkefe-ice-devtools build --type=react

Documentation

Docs are available at intro-materials - we are still working on refining it and contributions are welcome!

vscode 调试ice-devtools示例

1 点击debugger, 在项目根路径下生成.vscode文件夹, 其中包括launch.json文件

2 配置参考 更多详细信息请参考官方使用文档

{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "node",
      "request": "launch",
      "name": "启动程序",
      "program": "${workspaceFolder}/ice-devtools/bin/ice-devtools.js",
      "args": ["sync"],
      "cwd": "${workspaceFolder}/vue-materials",
      "console": "integratedTerminal"
    }
  ]
}