摘要:
1、pxtovw 2、pxtorem 配合amfe-flexible 1和2都是窗口大小改变就发生改变 3、期望是pc是固定尺寸,移动端是感觉窗口自适应 使用媒体查询 ,需要设置多个 百分比布局,字体px, 其他使用百分比 阅读全文
摘要:
postcss-px-to-viewport: postcss.plugin was deprecated. Migration guide: https://evilmartians.com/chronicles/postcss-8-plugin-migration 阅读全文
摘要:
安装 postcss-px-to-viewport https://segmentfault.com/a/1190000041809605 阅读全文
摘要:
https://www.ruanyifeng.com/blog/2021/01/clipboard-api.html 阅读全文
摘要:
vue-clipboard2 阅读全文
摘要:
https://www.likecs.com/ask-7580900.html Parameter 'a' implicitly has an 'any' type. 阅读全文
摘要:
type module 什么用 阅读全文
摘要:
eslint-plugin-prettier commit 错误提示 阅读全文
摘要:
lint-staged: 对暂存的git文件运行linters,不要让💩 滑入代码库! 在提交代码之前运行Linting更有意义。通过这样做,您可以确保没有错误进入存储库并强制执行代码样式。但在整个项目上运行lint过程是缓慢的,并且linting结果可能无关紧要。最终,您只需要提交lint文件。 阅读全文
摘要:
1、npx eslint src/main.ts Error [ERR_REQUIRE_ESM]: require() of ES Module package.json中"type": "module" 移除 .eslintrc.js is treated as an ES module file 阅读全文