00.本地搭建 threejs 文档网站(网页版是外网比较慢)

three官网

https://threejs.org/

下载代码

进入官网 可以选择github去下载 或者 下载压缩包

github 下载https链接地址 https://github.com/mrdoob/three.js.git

bash 复制代码
git clone https://github.com/mrdoob/three.js.git

安装依赖启动程序

安装依赖
bash 复制代码
npm i 
或者 
pnpm i
或者
yarn install
启动
bash 复制代码
npm run dev

效果

http://localhost:8080/

http://localhost:8080/docs/index.html#manual/zh/introduction/Installation

相关推荐
JS菌5 分钟前
Skills 动态加载系统:让 AI Agent 按需获取领域知识
前端·人工智能·后端
weedsfly7 分钟前
Sass 代码复用完全指南:从变量到模块化
前端
张拭心12 分钟前
Android 17 新特性:后台音频交互限制加强
android·前端
张拭心20 分钟前
Android 17 新特性:ProfilingManager 新触发器
android·前端
黄敬峰28 分钟前
从 XMLHttpRequest 到 JSON 模拟:打通前后端通信的任督二脉
javascript
weixin_4713830329 分钟前
Taro-03-页面生命周期
前端·javascript·taro
张拭心32 分钟前
Android 17 新特性:MessageQueue 无锁实现
android·前端
Asize35 分钟前
数组数据结构底层:从灵活到陷阱
前端·javascript·算法
十九画生35 分钟前
Ajax 入门:用 XHR 理解前后端异步请求
前端·javascript·后端