# three-vue3-ts **Repository Path**: strivelei/three-vue3-ts ## Basic Information - **Project Name**: three-vue3-ts - **Description**: vue3 + three + typescript - **Primary Language**: JavaScript - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 15 - **Forks**: 4 - **Created**: 2022-12-11 - **Last Updated**: 2024-11-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Three.js 学习记录 技术栈: **vite 3.x** **vue 3.x** **ant-design-vue 3.x** **three 0.143.x** # nodejs 版本需要大于等于16.x # 安装 `` npm i `` # 运行 `` npm run dev `` # 使用three.js tree.js 在vue使用鼠标改变大小时会报错误,错误如下 Unable to preventDefault inside passive event listener invocation. 解决方法: 在node_modules找到three/examples/jsm/controls/OrbitControls.js 将 `('wheel', onMouseWheel, false)` 替换成 `('wheel', onMouseWheel, { passive: false })`