webpack-dev-server 就可以熱更新 為什么還要用 hot-loader ?
2017-09-24
最新回答 / ZJLIAN
可能是環(huán)境沒(méi)搭好吧,簡(jiǎn)單點(diǎn)可以npm裝個(gè)create-react-app,來(lái)一鍵生成react環(huán)境,react中文文檔就有教程,這樣的話jquery和jplayer就不能直接用了,可以換些其他的音頻庫(kù)來(lái)用
2017-09-21
加個(gè)唱片旋轉(zhuǎn),pause同時(shí)暫停
#player-cover
{
position:relative;
animation-name:myfirst;
animation-duration:5s;
animation-timing-function:linear;
animation-delay:2s;
animation-iteration-count:infinite;
animation-play-state:running;
}
0% {left:0px; top:0px;}
25% {-webkit-transform: rotate(90deg);}
。。。
#player-cover
{
position:relative;
animation-name:myfirst;
animation-duration:5s;
animation-timing-function:linear;
animation-delay:2s;
animation-iteration-count:infinite;
animation-play-state:running;
}
0% {left:0px; top:0px;}
25% {-webkit-transform: rotate(90deg);}
。。。
2017-09-20
最新回答 / 慕運(yùn)維0221759
右下角文檔類型選babel(javascript),如果沒(méi)有該文檔選項(xiàng),需要安裝sublimt支持babel的插件
2017-09-20
最贊回答 / darkwing_
output 路徑不是絕對(duì)路徑,改成path: path.resolve(__dirname, './dist'),同時(shí)在開(kāi)頭 var path = require('path');
2017-09-19