0
腳本異步不工作:<SCRIPT異步>在軌工作不
<h1>Welcome#index</h1>
<script async>
alert('hello World');
alert('here we go');
</script>
<p>Find me in app/views/welcome/index.html.erb</p>
當頁面加載我只看到頭,不僅可以腳本之後明白爲什麼< P>加載。
確定,但如果我在資產中添加代碼JavaScript是,這將是工作是否正確?如果這將是正確的我該怎麼做呢? –