JeecgBoot mobile phone installation and configuration process

JeecgBoot mobile phone installation and configuration process

[[359692]]

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

Recommend

Zhihu’s road to commercial monetization!

From launching the live streaming function to the...

Alibaba's leadership change reveals Jack Ma's sense of crisis

Alibaba's 2015Q1 financial report released la...

In this vast sea of ​​people, where are your target customers?

We know that the first step of operation is posit...

Disposable food packaging, the best choice for those with a cleanliness craving?

1. Is the disposable packaging we take for grante...

Describe the design pattern in one sentence

[[143440]] As the title says, actually, I think t...

Nokia Lumia 930 WP8.1 review: excellent software but lackluster hardware

At the Build conference yesterday, Microsoft rele...

Elements and channels of online product promotion plan!

Viewpoint 1: The general promotion process is as ...

A complete summary of the offline event planning process!

For advertisers, offline event planning is no str...

Functional Animation in UX Design

[[149375]] A good UX designer can easily explain ...