How can vue be deployed using Cloud pages?

the address of the warehouse is https://gitee.com/codcoe/blog. There is no configuration for the first package. After pages starts, the web page is blank and the resources cannot be found. Later, follow ide/deployment.html-sharpgithub-pages" rel=" nofollow noreferrer > vue deployment to configure publicPath . Npm run build error: Invalid options in vue.config.js: "publicPath" is not allowed

// https://gitee.com/codcoe/blog
  publicPath: process.env.NODE_ENV === "production"?"/blog/":"/",
May.09,2022

resolved, upgrade vuecli3 to 3.3.0

clipboard.png

Menu