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

How can advertising creatives be designed to stimulate user interaction?

With the rapid development of the mobile gaming i...

Detailed explanation of how to increase traffic and followers on Xiaohongshu

How does Xiaohongshu increase followers and make ...

Tourism promotion, how do travel companies conduct online promotion?

As people's living standards continue to impr...

Why did the once popular breast enhancement advertisement disappear overnight?

Watching TV is no longer a lifestyle habit for mo...

How to find your "private domain traffic"?

The Internet has never lacked new terms. Internet...

User Operation: How to plan a user portrait system?

The term user portrait is very popular, but there...

How to plan a live e-commerce event?

Live streaming began to explode in 2015, sparking...

A guide to avoiding pitfalls in event operations!

When holding an event, it is often the case that ...

Ten key words for entrepreneurship in 2015

[[161410]] In 2015, China's entrepreneurial s...