/vis-three

more convenient development for three.js

Primary LanguageHTMLMozilla Public License 2.0MPL-2.0

vis-three

three.js 库二次功能封装 + 配置化的 three.js 开发。

Version License

主页、demo、文档在线地址

https://shiotsukikaedesari.gitee.io/vis-three

安装

npm i vis-three

导入

// 整体导入
import * as Vis from "vis-three";

// 按需导入
import {
  ModelingEngineSupport,
  SupportDataGenerator,
  generateConfig,
} from "vis-three";

备注

项目命令

website 的最终展现是使用的其他模块的 build 版本,如需要更新请先执行相应的:bulid构建。

  • 开发:npm run dev
  • 构建: npm run build
  • 代码格式化: npm run lint

测试

  • 例子开发: npm run examples:dev
  • 例子构建: npm run examples:build
  • e2e 测试: npm run e2e:open

文档

  • 文档开发: npm run docs:dev
  • 文档构建: npm run docs:build
  • 文档服务: npm run docs:serve

主页

  • 主页开发: npm run website:dev
  • 主页构建: npm run website:build
  • 主页代码格式化: npm run website:lint

项目案例

github:

gitee: