Skip to content

hotpot-fish/Front-React

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Front-React

1. About This Repo

  All front-end files are here.

  Please NOTE that you should make changes in your own branch.You can pull your branch with commands:

git clone .......
git checkout XXX-feature
git pull

  You can see all branches with:

git branch -a

2. Update Your Branch

git checkout develop
git pull
git checkout XXX-feature
git merge develop

3. Make A Pull-Request

  For example:

# Update your branch first and resolve conflicts
git add .
git commit -m 'feat: all functions done'
git push

  Please wait for another member to merge your pull request !

4. Standards

  Thes src directory has several directories:

    CSS:        includes CSS files.
    Pic:        includes pictures.
    Source:     Main codes here.This folder includes 5 folders.

                Components  :   The minimum parts of a page,like a search bar、a user cell.
                Containers  :   Containers of Components,like a collection of user cells.
                View        :   Pages thar can interact with users,like a homepage.
                Model       :   Core functions here.Don't put thoes functions that would be used in several places in a sigle class.
                Services    :   Functions that interact with backend.

  Please code in right folder for the convenience of maintenance.

  You should comment where you create a function like:

/*
    作者: 张三
    描述:包括代码段功能以及需要完善的地方
    (修改人:修改者需要加上这条注释)
    (修改内容:修改者需要加上这条注释)
    最后修改时间:2022年1月1日

 */

  Please add simple notes wherever you can!

About

Front-End files here

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors