mirror of
https://github.com/vuejs/awesome-vue.git
synced 2025-07-31 21:59:54 -04:00
Properly handle forward slashes in group names
This commit is contained in:
parent
b5a8b40354
commit
73773a7ab7
1 changed files with 3 additions and 0 deletions
|
@ -36,6 +36,9 @@ function parseDir(filename) {
|
|||
return parseDir(`${filename}/${child}`)
|
||||
})
|
||||
|
||||
// An ugly hardcode here to make sure forward slashes are treated properly
|
||||
info.name = info.name.replace(/:/g, '/')
|
||||
|
||||
return info
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue