Home > front end >  New people for help: the vue project deployment to code page shows not to come out on cloud console
New people for help: the vue project deployment to code page shows not to come out on cloud console

Time:10-20

This is the inside of the config configuration

This is a console print mistake


Have tried to config \ index in js assetsPublicPath under the build module: the '/' assetsPublicPath instead: '/' or not


CodePudding user response:

Post for the first time, a total of 20 points

CodePudding user response:

Try assetsPublicPath modified into the server path

CodePudding user response:

Build the assetsRoot inside to write documents after packaged address./dist

CodePudding user response:

CodePudding user response:

refer to three dozen soy sauce reply: 3/f
build assetsRoot inside to write documents after packaged address./dist


Page can show out now but I Mock static data, or a free 404 bosses to help see

CodePudding user response:

Local json data can actually don't mock, direct let res=the require (file path) can also be obtained

CodePudding user response:

refer to 6th floor three dozen soy sauce response:
local json data can actually don't mock, direct let res=the require (file path) can also obtain
thanks, solved, is axios request path problem
  • Related