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
Resources for the high school class of the Deep L...
Kunming Hun Tea Tasting 2021 Exclusive Hun Sang E...
In addition to the high temperature in summer, mo...
Beauty leans on beauty, what exactly is beauty le...
How much is the quote for customized fast food in...
Course Catalog Dagang: 1. Video account recommend...
Although after Google released Android 9.0 this y...
Introduction to the teaching resources of project...
The pace of life is fast nowadays, and many peopl...
After Grandpa Zhang was discharged from the hospi...
There will inevitably be a battle between Toutiao...
Everyone has a smartphone, and usually when you...
The process of a product going from 0 to 1 and fi...
[[121763]] Regardless of the emergence of Hammer ...
AMD has released the latest graphics card catalys...