vite打包后直接浏览器打开报错
浏览器直接打开index.html报错:
Access to script at 'file:///F:/code/vue3-app/dist/assets/index.9d2bd720.js' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, chro
原创
2021-07-08 14:59:32 ·
5061 阅读 ·
6 评论