課程
/前端開發(fā)
/前端工具
/Vue+Webpack打造todo應(yīng)用
npm?run? dev?成功? ?網(wǎng)站地址也出現(xiàn)了
但打開出現(xiàn)?無法訪問此網(wǎng)站
2018-06-02
源自:Vue+Webpack打造todo應(yīng)用 2-3
正在回答
我的 "webpack": "^4.12.0"
當 host 設(shè)置為 "0.0.0.0",port 設(shè)置為"8080" 時,也只能通過‘localhost:8080’或者 ‘127.0.0.1:8080’打開網(wǎng)頁,所以就直接將 host 設(shè)置成 "127.0.0.1" 了。
使用本地IP加端口號
localhost:8111應(yīng)該可以訪問吧
No parser and no filepath given, using 'babylon' the parser now but this will th
row an error in the future. Please specify a parser or a filepath so one can be
inferred.
請問解決了么?我也出現(xiàn)了這個問題,但是頁面可以打開
Younghaiqing 提問者
舉報
用前端最熱門框架Vue+最火打包工具Webpack打造todo應(yīng)用
1 回答未安裝插件卻運行成功
4 回答只能生成哈希JS,不能生成CSS
1 回答生成css文件問題
2 回答npm run dev后,瀏覽器顯示無法訪問此網(wǎng)站
1 回答終端沒有報錯,localhost:8000 顯示無法訪問此網(wǎng)站
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學(xué)習伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號
2018-06-20
我的 "webpack": "^4.12.0"
當 host 設(shè)置為 "0.0.0.0",port 設(shè)置為"8080" 時,也只能通過‘localhost:8080’或者 ‘127.0.0.1:8080’打開網(wǎng)頁,所以就直接將 host 設(shè)置成 "127.0.0.1" 了。
2018-06-05
使用本地IP加端口號
2018-06-04
localhost:8111應(yīng)該可以訪問吧
2018-06-04
No parser and no filepath given, using 'babylon' the parser now but this will th
row an error in the future. Please specify a parser or a filepath so one can be
inferred.
請問解決了么?我也出現(xiàn)了這個問題,但是頁面可以打開