引入seajs庫 <script src="assets/scripts/seajs/sea.js" id="seajsnode"></script> // id屬性爲seajs內置屬性前端
<script src="assets/scripts/seajs/sea.js" id="seajsnode"></script> // id屬性爲seajs內置屬性
編寫本身的代碼 已上傳github,可點擊下載node