-
Gallery 成功案例輪播
-
Maps 地圖遷入
-
Banner 圖片輪播
-
Loading 等待提示
-
Social 社群分享
- 複製
src/[module-name]/index.html
到本地專案目錄下,確認相對位置是正確的,資料夾為模組範例程式碼 - 如果
src/[module-name]/module.ts
存在,表示可使用 NPM 方式引入,引入及使用方式參考根目錄 index.html
- 更改 package.json 目標模組並打包
npm run build
- 若要更新模組,修改 package.json 版本
- 最後,發佈到 NPM
npm publish