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

At the just-concluded Chinajoy, what muscles did BAT flex?

[[144293]] The four-day Chinajoy has officially c...

This article tells you how to do video SEO marketing?

SEO video marketing starts with figuring out who ...

Will I definitely learn some cool skills if I go to a big bat company?

[[143894]] A classmate said that he went to Alipa...

How much does it cost to join a women's clothing app in Beijing?

For entrepreneurs, although mini program developm...

How can entrepreneurs write stories like the great Annie “Annie of the 1%”?

Yu Jiawen left, and Annie came, creating a phenom...

A comprehensive guide to App promotion and operation knowledge: [Data Analysis]

Part 1 How to evaluate channel quality from data ...

What surprising technologies did Google kill off in 2015?

In today's article, we will take a look at 15...