current position:Home>For non front and rear end separation projects, how can the front and rear ends be separated and packaged separately?

For non front and rear end separation projects, how can the front and rear ends be separated and packaged separately?

2022-06-24 09:38:26CSDN Q & A

The phenomenon and background of the problem

idea Front end code in , How to separate from the back-end code , And in vscode Medium pack
Or how to be in idea The front-end code is packaged separately in ? Instead of packaging back-end code .
direct maven Make it one jar package , Will pack the front and back ends .
The effect I want is to split the front and back ends . How to do it ?

Operation results and error reporting contents

As shown in the figure springboot In the project resource Two folders under the directory , Corresponding to the front-end management page , And user pages , So how can we split it . Package these pages separately ?

img

My solution ideas and tried methods

Copy it directly , Put it in vscode in , It is found that you cannot run directly .

What I want to achieve

The front and rear ends are packed and separated .

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.cdmana.com/2022/175/202206171715321894.html

Random recommended