課程
/前端開發
/Vue.js
/vue.js入門基礎
vue init webpack my-project 這個執行不了,但是只是在vue的目錄下無法執行,換個目錄就可以了,有人知道為什么嘛
2017-06-23
源自:vue.js入門基礎 1-2
正在回答
把hosts里面的有關github的東西都注掉,這會你也就能上github了,這個也就可用了
已解決,node.js版本更換為6.11.4就可以啦,原來是4.4.4版本的不支持ES6的語法。let, const, function, class均為ES6的語法
解決了嗎?同樣的命令遇到“SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode”錯誤,一直vue init webpack vuePro運行不了
Z_Johnson
慕運維7872483 回復 Z_Johnson
qq_沙冷_0
lucky鈺 回復 qq_沙冷_0
錯了 是路近
沒有配置環境
runtime-only:about 6kb lighter min_gzip,but templates (or any vue-specific HTML)are only allowed in.vue files - render functions are required elsewhere
執行不了?報的是什么錯?應該貼出來看看吧
舉報
本門為vuejs入門教程,詳細的講解加實戰,可以幫你進入vuejs的大門
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2018-01-03
把hosts里面的有關github的東西都注掉,這會你也就能上github了,這個也就可用了
2017-12-18
已解決,node.js版本更換為6.11.4就可以啦,原來是4.4.4版本的不支持ES6的語法。let, const, function, class均為ES6的語法
2017-10-23
解決了嗎?同樣的命令遇到“SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode”錯誤,一直vue init webpack vuePro運行不了
2017-07-15
錯了 是路近
2017-07-15
沒有配置環境
2017-07-13
runtime-only:about 6kb lighter min_gzip,but templates (or any vue-specific HTML)are only allowed in.vue files - render functions are required elsewhere
2017-06-24
執行不了?報的是什么錯?應該貼出來看看吧