1、资源链接
https://www.w3cschool.cn/ehsib/ehsib-emwt3qpd.html
threejs文件包下载和目录简介 | Three.js中文网
2、vcosole手机端调试
(1)npm install vconsole --save
(2)import VConsole from 'vconsole'
3、在HTML中使用调试插件
引入vconsole.min.js文件
下载方式1-----github上下载:https://github.com/Tencent/vConsole/releases/tag/v3.3.4
下载方式2-----?https://download.csdn.net/download/miss_liangrm/11748848
】
index.html代码如下(引入vconsole.min.js代码可以直接在浏览器运行查看)
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, viewport-fit=cover">
<title></title>
<script src="dist/vconsole.min.js"></script>
<script>
var vConsole = new VConsole();
</script>
</head>
<body>
你好,我是测试vconsole的页面
</body>
</html>
?