1.cli3 in baseUrl and publicPath
In 3.3 Vue CLI previous document, the presence of baseUrl and publicPath two variables to control the path of the project, but in the Vue CLI 3.3 after
Our project address is http: //ap*****.****od.***rk.com/hbyh, here is the son of hbyh path, in publicPath set "/ hbyh /" , then open the page found or not, seemingly did not perform routing !!!
Start route to start, because the project is from Vue CLI 2. * migration to the project, ignoring the route in the configuration,
base: process.env.BASE_URL
After the set, successfully opened jumpPage jump page, complete thought, but then F5, the project has a blank, and immediately thought of Nginx configuration is new, seemingly written in the background should be no increase try_files , sure enough, in nginx configuration on the plus
try_files $uri $uri/ /hbyh/index.html;
Successful project deployment.
So far, all over. Record the problem.