TypechoJoeTheme

Dcr163的博客

统计
搜索到 1 篇与 postcss 的结果
2022-05-08

VUE安装 postcss-px-to-viewport,将px单位转换为视口单位的 (vw, vh, vmin, vmax)

VUE安装 postcss-px-to-viewport,将px单位转换为视口单位的 (vw, vh, vmin, vmax)
VUE安装 postcss-px-to-viewport,将px单位转换为视口单位的 (vw, vh, vmin, vmax)先安装 postcss,直接 npm install postcss --save-dev安装 postcss-px-to-viewport 这里,使用github上的版本,因为可以指定目录或文件才进行转换// 需要使用include属性: npm i https://github.com/evrone/postcss-px-to-viewport --save-dev // 不需要使用include属性: npm install postcss-px-to-viewport --save-devnpm安装报错情况... npm ERR! error: RPC failed; curl 28 OpenSSL SSL_read: Connection was reset, errno 10054 npm ERR! fatal: expected flush after ref listing ...可以尝试用下面的两个设置解决git config --glo...
2022-05-08

VUE相关

3,035 阅读
0 评论
2022年05月08日
3,035 阅读
0 评论