Webpack version: 5

When using VuePress, you need to use Webpack to cross domains

Webpack5 — Cross domain approach

Webpack configuration reference documentation: segmentfault.com/a/119000001…

Configuration mode of devServer in Vuepress

Note: baseUrl does not write dead domain names or IP addresses