全局安装 npm install font-spider -g 然后把 引用自定义字体的 代码 复制到html 文件里 然后运行一下 font-spider index.html 结果 好啦 以上就是font-spider 字体压缩的使用