AI写作智能体 自主规划任务,支持联网查询和网页读取,多模态高效创作各类分析报告、商业计划、营销方案、教学内容等。 广告
1. 安装 node.js ~~~ 先安装node-v8.11.2-x86.msi 然后再cmd node -v 然后输入npm config set registry https://registry.npm.taobao.org 输入:npm install font-spider -g font-spider --version ~~~ 2. 在vccode命令行 ~~~ font-spider --version(不是内部命令 关掉重开) font-spider *.html 使用命令行进行压缩:(不再vccode中在cmd中也行) 先进入盘符(E:) cd (粘贴字体样式所在的盘符)回车 font-spider *.html ~~~ ### 使用方法: ~~~ 将字体文件夹放入vccode中 <style> .custom-font{ font-family: "IF"; font-size: 40px; } /* 自定义字体 */ @font-face{ font-family: "IF"; src: url("caoshu.ttf") } </style> </head> <body> <p class="custom-font">小米</p> </body> ~~~