The jeecgBoot front-end UI project can be made into an app and installed on the phone using the HBuilder tool. The detailed steps are as follows Step 1: Add baseUrl: './' in vue.config.js. The code example is as follows: Modify the index.html file in the public directory and change the global configuration address to the domain name. As shown below Modify src/utils/request.js Modify the baseURL of axios as shown below: Step 2: In HBuilder, select File->Open Directory and select the built dist file, as shown below: Step 3: Select the project, right-click and choose Convert to Mobile App Step 4: Select the project, right-click and select Release. A menu pops up and select the first item. A window will appear as shown below: Click Package to complete the packaging. Here is a screenshot of Apple packaging: If the packaged app cannot access the background data, please modify the configuration file in HBuilder, as shown below |
<<: The chat tool is here! Baidu Input Method 10.0 version is released
>>: WeChat update: Sell WeChat Beans at a high price to reward anchors
Expert of this article: Li Zongou, Master of Opht...
[51CTO.com original article] Coeus likes to chat ...
With the opening of various functions of mini pro...
I am Zhang Xiaoer, co-founder of Qingshenghuo san...
Before formally analyzing the traffic funnel mode...
【Aoyama Yuki】Japanese JK Uniform Youth Girl Campu...
The British government will provide 390 million po...
After reading this article, I hope you can improv...
In the past few years, I have shared some persona...
Chapter 1: Learning Taobao Express from scratch 1...
With the continuous improvement of technology, th...
Written by Wei Shuihua Header image | Visual Chin...
Crispy on the outside and tender on the inside, g...
C-end products are still different from B-end pro...
The competition between traditional car companies...