首页
  • Docker 安装verdaccio

    1 使用 docker 镜像安装

    在 docker 下安装 verdaccio 镜像使用如下命令即可:

    docker pull verdaccio/verdaccio

    如果安装失败,可以修改国内镜像

    进入docker配置目录

    cd /etc/docker

    修改 daemon.json 文件 ,不存在可以 `touch daemon.

    阅读全文
  • Android Studio (version 2022.2) Unable to find bundled Java version.

    PS C:\Windows\system32> flutter doctor
    Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
    阅读全文
  • keepAlive保存滚动位置

    vue2

     data() {
        return {
          scTop: 0//滚动距离顶部的位置
        }
      },
      // 进入该路由时
      activated() {
        document.documentElement.scrollTop = this.scTop
      },
    
      // 离开该路由前
    阅读全文
  • 解决H5页面在iOS系统中滑动回弹效果(橡皮筋效果)导致的穿透问题

    使用插件inobounce(但是只适用于ios系统,安卓不适用)
    下载插件:

    npm install inobounce -s

    在需要处理的页面上添加如下代码:
    vue2

    <script>
    import inobounce from 'inobounce'
    export default {
      data() {
        return {  }
      },
    阅读全文
  • vue3 setup + ts + vite 项目问题解决 @types/node 提示

    vue3 setup + ts + vite 项目问题解决:Cannot find module ... or its corresponding type declarations.(ts2307)

    node 提示:
    Cannot find module 'path' or its corresponding type declarations.
    `Cannot find m

    阅读全文
  • flutter 插件

    • octo_image
    • flutter_launcher_icons
    • animated_text_kit

    octo_image 图片加载

    文档:https://pub.flutter-io.cn/packages/octo_image

    OctoImage(
      image: CachedNetworkImageProvider(
    阅读全文
  • centos 安装 node

    未安装 wget 已安装跳过

    yum -y install wget

    安装gcc 已安装跳过

    yum install gcc gcc-c++

    下载node包

    wget https://npm.taobao.org/mirrors/node/v14.17.0/node-v14.17.0-linux-x64.tar.gz
    阅读全文
  • 前端算法,深度遍历和广度遍历

    深度遍历

    // 深度遍历
    function deepEach(nodes) {
      if (!nodes.length) {
        return;
      }
      const arr = [];
      for (let i = 0; i < nodes.length; i++) {
        const node = nodes[i];
    阅读全文
  • 生活随记·游记《金陵小镇·燕集里》

    ![W
    阅读全文
  • electron 读取剪贴板文件

    // 从资源管理器中复制文件到剪贴板

    let filePath;
    if (remote.process.platform == 'win32') { // windows
      // 只读取一个文件路径
      const rawFilePath = clipboard.readBuffer('FileNameW').toString('ucs2');
    阅读全文
  • 上一页 1 2 3 4 5 6 7 8 9 10 下一页
Taoqun
陶群
1994-09-07
taoquns@foxmail.com
前端开发
南京

文章分类

Mac
算法
前端
python
golang
mysql
node
linux
随笔
生活
游记

我的作品

记录体重Pro(小程序)
闲蝉科技

其他推荐

vue-cli3 前端构建失败
nginx 常规命令操作
安装 hiper 报错 记录
npm 切换淘宝源和npm源
学习-nginx开启负载均衡分发至2个docker容器
Homebrew 国内源 安装 重装
flutter 插件
解决H5页面在iOS系统中滑动回弹效果(橡皮筋效果)导致的穿透问题
pm2 常用命令
开发者:Taoqun

备案/许可证编号为:皖ICP备17027395号

闲蝉科技
Ron · 一个无人问津的小站
小印章