課程
/前端開發
/Angular
/Angular-cli基礎
ng g service test -m app.module
輸入后顯示
Unknown option: '-m'
Unknown option: 'app.module'
2019-07-30
源自:Angular-cli基礎 3-3
正在回答
我也一直遇到這個問題,但關鍵是我后來只執行ng g service test,也沒手動注冊也沒啥問題
舉報
介紹Angular CLI命令使用,通過Angular CLI構建一個簡單的Angular2的應用
1 回答ng g service test -m app.module報錯
2 回答ng g service test01 -m app.module 報錯了
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2020-01-14
我也一直遇到這個問題,但關鍵是我后來只執行ng g service test,也沒手動注冊也沒啥問題