2
我用bower install threejs
安裝了three.js。如何開始yeoman和three.js?
然後在此之後我希望有three.js所在我的網頁,所以我的app.js文件開頭:
define(["jquery", "three"], function() {
"use strict";
然而,當我的頁面加載瀏覽器控制檯顯示:
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/scripts/three.js
Uncaught Error: Script error
那麼,它不應該像jQuery那樣查找組件嗎?
基本上我怎麼才能開始yeoman和安裝three.js?