Giter VIP home page Giter VIP logo

coss-client's Introduction

目录结构

|-node_modules                      // 依赖包
|-public                            // 静态资源目录
|-build                             // 打包移动端端文件夹,
|  |-platforms                      // 打包后存放 android ios 目录
|  |-www                            // 项目打包后源文件
|  |-config.xml                     // 项目配置文件
|  |-build.js                       // 打包脚本
|-electron                          // electron 项目目录
|-src                               // 项目源码
|-package.json                      // 项目配置文件
|-README.md                         // 项目说明文件

命名规范

  1. 所有模块都应该使用驼峰命名法,如 index.jsApp.jsxAppPage.vue 等。
  2. 所有组件都应该使用 PascalCase 命名法,如 HelloWorld.jsx 等。

项目结构

|-src                               // 项目源码
|  |-assets                         // 静态资源
|  |-components                     // 组件
|  |-pages                          // 页面
|  |-config                         // 项目配置目录
|  |-store                          // 状态管理
|  |-utils                          // 工具库
|  |-App.jsx                        // 入口文件
|  |-index.js                       // 入口文件

Git 提交规范

  • fix: 修复 bug
  • feat: 新功能
  • docs: 文档
  • style: 格式
  • refactor: 重构
  • perf: 性能优化
  • test: 测试
  • build: 构建
  • ci: 持续集成
  • chore: 其他修改

Git 提交规范

  • 主分支 main
  • 开发分支 dev
  • 预发布分支 release
  • 功能分支 feat-xxx
  • 修补bug分支fix-xxx

国际化规范

  • json:一个中文 key 对应其他语言的 value

coss-client's People

Contributors

minisailboat avatar xie392 avatar oldtt avatar

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.