# huge-tree **Repository Path**: qwsone/huge-tree ## Basic Information - **Project Name**: huge-tree - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-11-29 - **Last Updated**: 2021-11-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 在线演示 [http://39.98.139.162:3000/demo](http://39.98.139.162:3000/demo) ## 使用方式 npm i huge-tree --save 或 yarn add huge-tree -D ### 全局使用 ``` // main.js, import BTM from 'huge-tree' Vue.use(BTM) // demo1.vue, 使用 huge-tree // demo2.vue 使用 huge-list ``` ### 按需使用 ``` // import { HugeTree, HugeList } from 'huge-tree' Vue.use(HugeTree) Vue.use(HugeList) ``` ### 组件内部使用 ``` // demo.vue, ``` ## Doc 参见 github 各 demo
[huge-tree 使用doc](https://github.com/bitmain-frontend/huge-tree/tree/master/src/library/components/hugeTree/demo)
[huge-list 使用doc](https://github.com/bitmain-frontend/huge-tree/tree/master/src/library/components/hugeList/demo) ## 本地运行 1. git clone 2. yarn install 3. yarn dev 4. yarn mock:api // 再开一个窗口执行此命令,两个node服务都跑起来。 5. 0.0.0.0:8000 ## 打包为umd类型的js-hugeTree.js ``` 运行 yarn build-library 将生成dist/huge-tree.js // 使用 huge-tree ```