测试图片
测试图片hexo图片引用方式有三种,推荐使用第二种方式,并在开头加上 typora-root-url:{title}
12345{% asset_img test.png 图片引用方法一 %}
如下
npm使用国内淘宝镜像的方法(两种)
一、通过命令配置1、设置淘宝镜像源1npm config set registry https://registry.npmmirror.com/
2、设置官方镜像源1npm config set registry https://registry.npmjs.org
3、查看镜像使用状态:1npm config get registry
如果返回https://registry.npmmirror.com/ ,说明配置的是淘宝镜像。
如果返回https://registry.npmjs.org/ ,说明配置的是官方镜像。
二、通过使用cnpm安装1、安装cnpm1234567891011 npm install -g cnpm --registry=https://registry.npmmirror.com 解决安装卡顿或无法安装:注册模块镜像 npm set registry htt ...