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
The golden September and silver October are the m...
With the rapid development of the mobile gaming i...
This year, our country will host the 19th Asian G...
How does Xiaohongshu increase followers and make ...
As people's living standards continue to impr...
Watching TV is no longer a lifestyle habit for mo...
The Internet has never lacked new terms. Internet...
On January 26, the Digital RMB (pilot version) Ap...
Since I was working on a community product, I mad...
The term user portrait is very popular, but there...
Live streaming began to explode in 2015, sparking...
Qun Xiang Liu Laoban·IP Monetization Training Cam...
When holding an event, it is often the case that ...
"For us, although we have to thank the TikTo...
[[161410]] In 2015, China's entrepreneurial s...