报错内容:
Error: Failed to resolve async component default: SecurityError: Failed to construct 'Worker': Script at 'https://***.***cdn.com/8e3315feae66f90ee230.worker.js' cannot be accessed from origin 'https://***.***.com'.
解决方案
修改node_modules中的worker-loader/dist/workers/index.js
vue项目 publicPath 修改为 ./
nuxt项目 publicPath 修改为 /_nuxt/