前端
前端
Knight_AL
这个作者很懒,什么都没留下…
展开
-
Vue跑马灯简单案列
content是显示的内容,shouldMove是否滚动(如果大于了文本框才滚动,否则禁止不懂),showResult是否显示滚动条。套在自己的vue模板里面即可。原创 2024-02-20 16:56:33 · 324 阅读 · 0 评论 -
vue在使用了proxy后如何查看代理的真实请求地址
添加`logLevel: ‘debug’ 即可。原创 2024-02-20 16:30:47 · 918 阅读 · 0 评论 -
npm install 遇到问题:ERR! request to https://registry.npmjs.org/express failed, reason: getaddrinfo
原因:公司使用了代理服务器,node.js没有走环境代理。原创 2024-02-20 16:26:11 · 205 阅读 · 0 评论 -
request to httpsregistry.npm.taobao.orgnrm failed, reason certificate has expired
推荐使用 nrm 来更好的管理你的镜像源。使用哪个镜像源就输名称就可以了。然后我们可以查看镜像源。原创 2024-02-20 16:23:29 · 381 阅读 · 0 评论 -
vue.config.js中proxy配置
方法1:监测多个接口,可以在proxy中写多个配置:(适用于target不同的代理,相同也可以用这个方法,就是会麻烦一点,对于相同的target方法2会比较方便)如果发送的请求都以 /abc 开头,那么我们就可以在proxy中进行服务器代理配置。方法2:使用axios进行前设置(适用于target相同的代理)进行了上方的配置后,在本地发送的请求会变为。如果不懂 我在下面举个列子把。这里以axios发请求为例。原创 2024-02-20 16:15:19 · 819 阅读 · 0 评论 -
node_modules\axios\index.js require() of ES modules is not supported. require()
node_modules\axios\index.js require() of ES modules is not supported. require()原创 2023-02-22 13:07:29 · 1120 阅读 · 0 评论 -
You did not set any plugins, parser, or stringifier. Right now, PostCSS does nothing.
You did not set any plugins, parser, or stringifier. Right now, PostCSS does nothing.原创 2023-02-22 13:05:46 · 387 阅读 · 0 评论 -
Nuxt启动服务只能localhost:3000访问,不能通过本地ip访问
Nuxt启动服务只能localhost:3000访问,不能通过本地ip访问原创 2023-02-16 19:42:17 · 349 阅读 · 0 评论