rewrite learning-threejs-third-editon with parcel
修改package.json中的dev命令文件路径,运行不同的示例。
"scripts": {
"dev": "parcel src/chapter-01/01-basic-skeleton.html",
"build": "parcel src/chapter-01/01-basic-skeleton.html"
},
"dev": "parcel src/chapter-01/02-first-scene.html",
"dev": "parcel src/chapter-01/03-materials-light.html",
请把assets文件夹复制到dist目录。