[Doc] support title anchor (#3845)

This commit is contained in:
neverland
2019-07-13 20:41:15 +08:00
committed by GitHub
parent 0d2f010e44
commit 7b9331aee4
5 changed files with 71 additions and 29 deletions

View File

@@ -39,6 +39,7 @@ const registerRoute = ({ mobile, componentMap }) => {
component = DemoPages;
} else if (mobile) {
const module = componentMap[`./${path}/demo/index.vue`];
if (module) {
component = demoWrapper(module, path);
}