Code Monkey home page Code Monkey logo

Comments (4)

weigao123 avatar weigao123 commented on August 19, 2024

1的话可以在类上面手动//注释,增加非强制字段如果开发人员不用我理解也没有用吧
2是什么意思,能详细说说吗?

from drouter.

scsfwgy avatar scsfwgy commented on August 19, 2024

其实1和2可以理解为一个,将路由信息生成一个md或者json的文档,比如包含:完整类路径、路由路径、参数信息、路由类型、备注信息等。这个文档开发人员可以看,运营人员也可以的。比如运营想要配置跳转哪个页面,参考这个文档就好了。
参考ARouter:https://github.com/alibaba/ARouter/blob/452297cef567838238571c181189d17d92847aa4/README_CN.md?plain=1#L498

from drouter.

like5188 avatar like5188 commented on August 19, 2024

+1

from drouter.

XuJhin avatar XuJhin commented on August 19, 2024

+1

from drouter.

Related Issues (20)

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.