01 2023 档案

微信小程序授权及检测访问当前页面需要去登录的操作
摘要:1、小程序授权登录 这里我直接复制代码: login.js const app = getApp() Page({ data: { //判断小程序的API,回调,参数,组件等是否在当前版本可用。 canIUse: wx.canIUse('button.open-type.getUserInfo'), 阅读全文

posted @ 2023-01-09 10:09 记录美好瞬间 阅读(1355) 评论(0) 推荐(0) 编辑

nginx: the "ssl" parameter requires ngx_http_ssl_module in /usr/local/nginx/conf/nginx.conf
摘要:Nginx如果未开启SSL模块,配置Https时将提示如题错误 原因:nginx缺少http_ssl_module模块,编译安装的时候带上--with-http_ssl_module配置就行了,但是现在的情况是我的nginx已经安装过了,怎么添加模块(我的nginx的安装目录是/usr/local/ 阅读全文

posted @ 2023-01-04 14:09 记录美好瞬间 阅读(1294) 评论(0) 推荐(0) 编辑

通过xshell在linux上安装nginx1.12.0
摘要:0)环境安装 Nginx是C语言开发,建议在 Linux 上运行,当然,也可以安装 Windows 版本,本篇则使用 CentOS 7 作为安装环境。 0.1 gcc 安装 安装 nginx 需要先将官网下载的源码进行编译,编译依赖 gcc 环境,如果没有 gcc 环境,则需要 安装: yum in 阅读全文

posted @ 2023-01-04 12:50 记录美好瞬间 阅读(409) 评论(0) 推荐(0) 编辑

VUE生产环境打包build
摘要:1.进入到项目根目录执行 npm run build 此时会自动打包在dist目录下 2.安装服务 npm install -g serve 3.启动 serve dist 总结: 以上就是生产环境打包的过程。 npm run dev是开发环境, npm run build是生产环境 参考链接:ht 阅读全文

posted @ 2023-01-04 08:27 记录美好瞬间 阅读(882) 评论(0) 推荐(1) 编辑

npm i不成功devDependencies解决方法
摘要:npm config ls -l 查看npm配置发现production为true,所以i不成功 npm config set production false 将production设置为false,成功了。 参考链接:https://blog.csdn.net/llp5210/article/d 阅读全文

posted @ 2023-01-04 08:25 记录美好瞬间 阅读(35) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示