The JAVA backend and the WEB front end are separate development patterns. How should the front end configure the development environment?

SVNDtomactFSVNtomactserver.xml
tomcatwebappBug,warSVN
JAVA
Apr.27,2021

the front end does not need to configure the Java environment, get a development or test server, and the front end requests the interface of the test server during the development phase.


shouldn't the front-end development environment be on the developer's computer?

pay attention to cross-domain problems here


HTML+CSS+jQueryUI(EasyUIBootstrap) webpackNode.js 
:Node.jsServer

-Separator for supplementary answers-
2018-08-24 18:13
saw your comment and I suggest you take a look at Vue.
here is a simple small project I recently did with Vue. You can take a look at
https://github.com/chaoliu199.

.

you can use Vue to do the project you are working on, and use vue-cli to generate a basic project to compare with my project for reference.
about the configuration of the agent is in: English-Web/config/index.js

module.exports = {
    dev: {
        assetsSubDirectory: 'static',
        assetsPublicPath: '/',
        proxyTable: {
            '/': {
                target: 'http://127.0.0.1:8082', //
                changeOrigin: true, //
                pathRewrite: {'^/': '/'}
            }
    },
    ......
}

to see which tools are used in the background, you also use the same tools, and ask your colleagues in the background to help install the rest. I used to configure it with a bunch of tutorials on the Internet, but I failed in the middle of the configuration. In fact, if you think about it all day, you may not understand it. If you let your colleagues who have matched the environment teach you, it will be faster.

Menu