0%

安装依赖 yarn add @babel/core @babel/cli @babel/node @babel/preset-env -D 或者全局安装 yarn global add @babel/core @babel/cli @babel/node @babel/preset-env 注意:全局安装需要把yarn的全局目录添加到Windows的path,查找path命令如下 yarn

国际化 安装 Vue-Cli3 使用下面命令 vue add i18n 然后可能会报错 TypeError: _ctx.$t is not a function 解决办法 在创建国际化组件时,加上一个属性 globalInjection: true, 默认位于/src/i18n.js 本地国际

生成验证码 /** * 验证码工具类 * * @name: VerificationCode * @author: terwer * @date: 2022-07-17 22:21 **/ public class VerificationCode { private static final String[] randomStr = {"0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y",

配置 # https://help.aliyun.com/document_detail/365559.html # HTTPS协议默认端口号为443,需要使用其他端口时,您可以在此处自定义。 server.port=8002 # https://docs.oracle.com/en/java/javase/11/docs/specs/security/standard-names.html#keystore-types # 您需要使用实际的证书名称替换domain_nam

docker compsoe的完整配置 docker-compose.yml # 构建docker-compose项目 # docker compose --log-level INFO up -- build # docker compose --log-level INFO up -d --build version: '3' services: terwer-nginx: image: terwer/nginx:1.15.9 container_name: terwer-nginx build: context: ./terwer-nginx dockerfile: Dockerfile ports: - "80:80" - "443:443" volumes: - ./terwer-nginx/nginx.conf:/etc/nginx/conf.d/default.conf

To delete all the local tags simple run the following command git tag | xargs git tag -d To delete remote tags after deleting the local tags by running the above command, you can run the comand below git ls-remote --tags --refs origin | cut -f2 | xargs git push origin --delete NOTE: replace origin with your remote handler

自定义镜像地址和版本解决 pnpm config set registry https://registry.npmmirror.com/ pnpm config set electron_mirror=https://cdn.npmmirror.com/binaries/electron/ pnpm config set electron_custom_dir=14.2.5 参考: https://github.com/electron/electron/issues/22792 ‍

错误日志 Selecting previously unselected package oneblog4j. (Reading database ... 264884 files and directories currently installed.) Preparing to unpack .../bundles/oneblog4j-1.0.3.deb ... Unpacking oneblog4j (1.0.3) ... Setting up oneblog4j (1.0.3)/ ... Adding shortcut to the menu An error occurred while applying changes: An error occurred while applying changes: xdg-desktop-menu: No writable system menu directory found. dpkg: error processing package oneblog4j (--install): installed oneblog4j package post-installation script subprocess returned error