【文件属性】:
文件名称:new-style-guide
文件大小:134KB
文件格式:ZIP
更新时间:2021-08-03 23:13:41
HTML
吞咽模板
我的
gulp - 开始吞咽
gulp 构建 - 生产
部署应用程序
npm 运行部署
打开网址 https://{login GitHub}.github.io/{repository name}/
使用 Stylelint 修复样式
.stylelintrc - Stylelint 规则.stylelintignore - Stylelint 忽略
npm run stylelint - 查看错误
npm run stylelint:fix - 用于修复错误
为了在 VsCode 中自动修复,将此行添加到 settings.json: "editor.codeActionsOnSave": {"source.fixAll.stylelint": true}
查看文件中的错误:
VsCode:在应用商店安装 stylelint
JetBrains 的 IDE:设置 > S
【文件预览】:
new-style-guide-master
----.github()
--------workflows()
----yarn.lock(216KB)
----.stylelintrc(26KB)
----.prettierrc.json(135B)
----gulpfile.js(2KB)
----.stylelintignore(38B)
----build()
--------index.html(58KB)
--------images()
--------js()
--------css()
----README.md(1KB)
----.gitignore(299B)
----app()
--------index.html(58KB)
--------scss()
--------images()
--------js()
----package.json(936B)