![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Vue
RainCat_zZ
这个作者很懒,什么都没留下…
展开
-
vue3 解决 axios插件的问题 uncaught typeerror: cannot read property ‘use‘ of undefined at...
问题:axios.js?be3b:59 uncaught typeerror: cannot read property ‘use’ of undefined at eval (axios.js?be3b:59) at module…/src/plugins/axios.js (app.js:1160) at webpack_require (app.js:849) at fn (app.js:151) at eval (main.js:10) at module…/src/main.js (app.js:原创 2021-08-25 10:41:53 · 905 阅读 · 0 评论 -
vue3 配置文件(跨域 和 多页面开发)
module.exports = { // 跨域配置 devServer: { //记住,别写错了devServer//设置本地默认端口 选填 port: 8089, proxy: { //设置代理,必须填 '/api': { //设置拦截器 拦截器格式 斜杠+拦截器名字,名字可以自己定 target: 'h.原创 2021-08-25 12:19:55 · 1109 阅读 · 0 评论 -
Docker 制作一个镜像发布Vue项目
Dockerfile 文件内容FROM node:14.17.5RUN wget https://nodejs.org/dist/v16.13.0/node-v16.13.0-linux-x64.tar.xz \ && xz -d node-v16.13.0-linux-x64.tar.xz \ && tar -xf node-v16.13.0-linux-x64.tar \ && rm -f node-v16.13.0-linux-x64.tar原创 2021-11-15 17:01:22 · 1139 阅读 · 0 评论 -
Vue去除语法的严格模式
在package.json中找到下图框起来的内容,删掉原创 2021-11-16 14:55:11 · 816 阅读 · 0 评论