就是记录一些bug,略久远可能描述不清
我的文件结构大概是:
resources-front
-static
-js
-index.html
-templates
-projector.html
在index.html里引入js文件下的包,
<script type="text/javascript" src='js/three.js'></script>
在projector.html里引入,是使用同样的路径
<script type="text/javascript" src="js/three.js"></script>
总之都试试。