Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/woai3c/front-end-specification
前端规范
https://github.com/woai3c/front-end-specification
Last synced: 15 days ago
JSON representation
前端规范
- Host: GitHub
- URL: https://github.com/woai3c/front-end-specification
- Owner: woai3c
- License: mit
- Created: 2021-04-26T12:28:31.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-25T02:17:11.000Z (6 months ago)
- Last Synced: 2024-11-07T12:13:50.319Z (2 months ago)
- Homepage:
- Size: 618 KB
- Stars: 27
- Watchers: 4
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## 简介
前端规范目录:
* [JavaScript 编码规范](doc/js.md)
* [TypeScript 编码规范](doc/ts.md)
* [CSS 编码规范](doc/css.md)
* [HTML 编码规范](doc/html.md)
* [Vue 编码规范](doc/vue.md)
* [Git 规范](doc/git.md)
* [Code Review 规范](doc/codereview.md)
* [移动端适配规范](doc/mobile.html)
* [文件命名规范](doc/file.md)
* [规范验证与代码格式化](doc/verify.md)
* [用户体验](doc/ue.md)
* [其他](doc/other.md)### 在线阅读
* [Github 访问地址](https://woai3c.github.io/front-end-specification/)如果在线访问比较慢,建议你克隆项目在本地观看,下载项目后执行以下命令:
```bash
# 安装依赖
npm i
# 启动服务器
npm run dev
```
然后在浏览器打开 `http://localhost:8080` 进行访问。## eslint and prettier
与代码规范配套的 eslint 插件在下面,有两个版本,大家注意选择合适的版本:
* [vue](https://github.com/woai3c/eslint-config-airbnb-vue3-ts)
* [no-vue](https://github.com/woai3c/eslint-config-airbnb-vue3-ts/tree/no-vue)### 引用资料
* [百度 spec](https://github.com/ecomfe/spec)
* [airbnb-javascript](https://github.com/airbnb/javascript)
* [airbnb-javascript 中文版](https://github.com/lin-123/javascript)