2021年3月14日
摘要: 1. 打开文件夹:/etc/nginx/conf.d/ 2. 创建配置文件:xxx.conf 3. 配置完成后,重新载入: nginx -s reload 相关命令: 查看状态:nginx -t 重启:nginx -s reopen 停止:nginx -s stop 注:/etc/nginx/ngi 阅读全文
posted @ 2021-03-14 02:56 W1N9s 阅读(109) 评论(0) 推荐(0) 编辑
  2021年1月31日
摘要: 1 { 2 "name": "demo", 3 "version": "0.0.1", 4 "build": { // electron-builder配置 5 "productName":"xxxx",//项目名 这也是生成的exe文件的前缀名 6 "appId": "xxxxx",//包名 7 阅读全文
posted @ 2021-01-31 12:05 W1N9s 阅读(1047) 评论(0) 推荐(0) 编辑
摘要: 1. 获取当前工作进程的目录:process.cwd() 2. 当前模块的目录名:__dirname;或者 path.dirname(path) 3. 当前模块的文件名:__filename 阅读全文
posted @ 2021-01-31 11:36 W1N9s 阅读(627) 评论(0) 推荐(0) 编辑
  2021年1月30日
摘要: 1. TypeError: this.CliEngine is not a constructor 点击 details,找到报错文件位置,如: D:\Program Files\JetBrains\IntelliJ IDEA 2017.3.7\plugins\JavaScriptLanguage\ 阅读全文
posted @ 2021-01-30 19:19 W1N9s 阅读(1118) 评论(0) 推荐(0) 编辑
  2020年12月22日
摘要: 本地开发时,登录成功时设置了 session,但是再次发起请求时获取 session 为空。 解决方法 : 原因是前端请求地址设置的是 127.0.0.1:3000。 请求地址改为:localhost:3000 就可以正常获取了。 以前运行一直好好的,突然就不行了,不知道什么原因。 阅读全文
posted @ 2020-12-22 16:05 W1N9s 阅读(574) 评论(0) 推荐(0) 编辑
  2020年11月7日
摘要: 淘宝镜像:npm config set registry https://registry.npmmirror.com npm config set registry https://registry.npm.taobao.org(已失效) 华为镜像:npm config set registry 阅读全文
posted @ 2020-11-07 17:40 W1N9s 阅读(361) 评论(0) 推荐(0) 编辑
  2020年8月20日
摘要: 1. 打开文件目录 C:\Users\Administrator,找到文件 .vuerc。(找不到的也可以用 everything 全局搜索) 2. 编辑 .vuerc 文件,把 presets 里不要的选项删除,保存 阅读全文
posted @ 2020-08-20 03:52 W1N9s 阅读(790) 评论(0) 推荐(0) 编辑
  2020年7月30日
摘要: 1. 安装模块:npm install sass-resources-loader 2. 修改配置文件: 找到 .eleectron-vue/webpack.renderer.config.js 文件 改为 阅读全文
posted @ 2020-07-30 18:28 W1N9s 阅读(879) 评论(1) 推荐(0) 编辑
  2020年7月29日
摘要: 指路:https://my.oschina.net/u/4110591/blog/3033986 阅读全文
posted @ 2020-07-29 16:11 W1N9s 阅读(915) 评论(0) 推荐(0) 编辑
  2020年7月28日
摘要: 新建 txt 文本 输入 DEL /F /A /Q \\?\%1 换行,再输入 RD /S /Q \\?\%1 保存 修改文件扩展名,.txt 改为 .bat 把要删除的文件拉到这个 bat 上就可以删除了 阅读全文
posted @ 2020-07-28 15:12 W1N9s 阅读(357) 评论(0) 推荐(0) 编辑