- 博客(13)
- 收藏
- 关注
原创 Vite 配置代理 Proxy,Vue配置代理,解决前端跨域
我们在做项目的时候经常会遇到跨域的问题,之所以会出现跨域问题是因为浏览器的同源策略,即协议、域名、端口需要一致,才可以访问服务端的资源。当一个请求地址(服务端的地址)的协议、域名、端口三者之间任意一个与当前页面地址(前端页面地址)不同即为跨域。代理就是通过一个特定的网络服务去访问另一网络服务的一种间接访问方式。就像我们访问国外网站使用VPN一样,同样也是使用了代理。
2022-11-28 11:35:43
19439
原创 GIT提示Another git process seems to be running in this repository
Another git process seems to be running in this repository, e.g.an editor opened by 'git commit'. Please make sure all processes are terminated then try again. If it still fails, a git process may have crashed in this repository earlier: remove the file.
2022-10-26 14:51:20
4239
3
原创 Vue3 + vite项目配置@指向src路径
Vue3 +vite项目配置@指向src路径,使用@指向src路径可以方便开发者移动文件时,不会出现不必要的错误。
2022-09-28 10:48:58
4550
2
原创 向vue中集成electron(使用electron-builder插件直接将electron集成到自己的项目)
使用 vue add electron-builder将electron直接集成到vue项目中。
2022-09-01 09:00:00
5248
2
原创 Vue3动态绑定组件警告处理
Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhead, and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.
2022-07-13 10:15:34
1971
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人