mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 19:24:16 +00:00
[Doc] rename component README file (#3662)
This commit is contained in:
@@ -44,7 +44,8 @@ const registerRoute = ({ mobile, componentMap }) => {
|
||||
}
|
||||
} else {
|
||||
const module =
|
||||
componentMap[`./${path}/${lang}.md`] ||
|
||||
componentMap[`./${path}/README.${lang}.md`] ||
|
||||
componentMap[`./${path}/README.md`] ||
|
||||
componentMap[`./${path}.${lang}.md`];
|
||||
|
||||
component = module.default;
|
||||
|
Reference in New Issue
Block a user