@antv/gi-cli
v1.2.11
Published
the create CLI tool for G6VP assets
Downloads
83
Maintainers
Keywords
Readme
使用 脚手架 创建资产包
01. 创建一个资产文件夹
mkdir gi-assets-myassets
02. 下载脚手架工具
yarn add @antv/gi-cli@latest
03. 本地初始化启动
npx @antv/gi-cli
根据提示,完成资产包名和其他信息的补充
04. 安装项目依赖
yarn install
04. 启动项目
npm run start
05. 构建资产 umd 产物
npm run build
06. 本地托管 umd 产物
npm run serve