จะเปลี่ยนโฟลเดอร์คอมโพเนนต์เริ่มต้นของ bower ได้อย่างไร
ฉันกำลังสร้างโปรเจ็กต์ใหม่ที่ใช้ bower จาก twitter ฉันสร้างcomponent.jsonเพื่อรักษาการพึ่งพาของฉันทั้งหมดเช่น jQuery แล้วฉันจะเรียกว่าทุกอย่างที่ติดตั้งในโฟลเดอร์ชื่อbower install แต่ผมจำเป็นต้องติดตั้งส่วนประกอบในโฟลเดอร์ที่แตกต่างกันเช่นcomponentspublic/components ฉันได้ลองแก้ไข components.json ของฉันเป็น: { "name": "test", "version": "1.0.0", "directory": "public/", "dependencies": { "jquery": "*" } } หรือ: { "name": "test", "version": "1.0.0", "componentsDirectory": "public/", "dependencies": { "jquery": "*" } } ดังที่แสดงไว้ในhttps://github.com/twitter/bower/pull/94แต่มันไม่ทำงาน