1. 程式人生 > >用HBuilder打包測試app

用HBuilder打包測試app

1.npm run build  打包檔案

2.把dist拖拽到HBuilder

3.右鍵設定為webapp

4.點擊發行包

配置app的圖示

刪除帶有歎號的後ctrl+s儲存檔案

去掉廣告後開始打包

6.下載app

打包成功

 

注:以上配置為首次配置,以後發包時npm run build後直接點擊發包即可