vuepress-theme-hope
Advanced tools
Comparing version 0.0.10 to 0.0.11-alpha1
@@ -6,3 +6,3 @@ /* eslint-disable no-unused-vars */ | ||
* @LastEditors: Mr.Hope | ||
* @LastEditTime: 2019-10-12 22:18:01 | ||
* @LastEditTime: 2019-10-14 16:25:24 | ||
* @Description: Vuepress增强配置 | ||
@@ -9,0 +9,0 @@ */ |
@@ -5,3 +5,3 @@ /* | ||
* @LastEditors: Mr.Hope | ||
* @LastEditTime: 2019-10-12 00:35:15 | ||
* @LastEditTime: 2019-10-13 18:15:16 | ||
* @Description: 侧边栏处理 | ||
@@ -19,3 +19,3 @@ */ | ||
if (typeof element === 'string') return `${prefix}${element}`; | ||
if (typeof element === 'object') { | ||
if (typeof element === 'object' && element.children) { | ||
element.children = resolveSideBar(element.children, `${prefix}${element.prefix || ''}`); | ||
@@ -22,0 +22,0 @@ |
{ | ||
"name": "vuepress-theme-hope", | ||
"version": "0.0.10", | ||
"version": "0.0.11-alpha1", | ||
"description": "a light vuepress theme", | ||
"main": "index.js", | ||
"scripts": { | ||
"publish": "npm publish", | ||
"publish-alpha": "npm publish --tag=alpha" | ||
"publish": "npm publish .", | ||
"publish-alpha": "npm publish . --tag=alpha" | ||
}, | ||
@@ -44,2 +44,2 @@ "repository": { | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
83163