How is routing configured?

what is this routing configuration? It"s a little different from vue, but it"s used in vue"s projects. What does each field mean? Take over the project, now jump encountered problems, thank you for the answer!

Mar.02,2021

this attribute can be customized, not necessarily the fixed attribute it encapsulates, and you can also add it. When you use it, you can get the corresponding routing configuration information through the global $router .


is no different, just add a few more attributes


these attributes are customized by the developers before your project, as for the meaning of the attributes, it depends on your project itself, you can find out where these attributes are used globally, and you should probably know what to do with them.

Menu