Giter Club home page Giter Club logo

standard's Introduction

目录

大前端团队开发规范。Standards for front-end team development.

公约

代码仓库规范

代码规范化

基础语言规范

预编译器规范

  • Pug 规范
  • Stylus 规范

框架语言规范

  • HTML-Vue 规范
  • Vue 规范
  • Egg.js 规范
  • Nest.js 规范

代码编写规范

框架规范化

项目目录结构规范

  • Vue 项目目录结构规范
  • Nuxt 项目目录结构规范
  • mpvue 项目目录结构规范
  • Cordova 项目目录结构规范
  • Flutter 项目目录结构规范
  • Node 项目目录结构规范

脚手架

  • 命令行
  • 可视化

框架模板

  • web:Vue-template
  • web:Nuxt-template
  • 小程序:mpvue-template
  • hybird:Cordova-template
  • native:Flutter-template
  • node:Egg-template
  • node:Nest-template

组件/插件/中间件开发模板

  • js-plugin-template
  • Vue-component-template

组件规范化

  • NPM 包管理规范
  • NPM 私服使用规范
  • JavaScript 插件:JS 工具函数 / Fetch / Cordova-plugins / 短信发送
  • Vue 插件:过滤器 / 转场动画 / 路由生成
  • Vue H5 组件库
  • Vue 中后台组件库
  • mpvue 组件库
  • Cordova 组件库
  • Flutter 组件库
  • Egg.js 中间件
  • Nest 中间件

数据结构规范化

测试规范化

  • 数据模拟:前端框架内部mock集成
  • 接口展示、模拟与测试平台Yapi
  • 应用错误监控与报警
  • 单元测试 待扩充
  • 集成测试 待扩充

集成发布规范化

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.