feature:change theme online

This commit is contained in:
Pan
2017-11-01 15:48:30 +08:00
parent e8b34bbc0d
commit 374fd3ffeb
6 changed files with 285 additions and 99 deletions

View File

@@ -265,3 +265,8 @@ export function deepClone(source) {
}
return targetObj
}
// get dependencies verison from package.json by webpack.DefinePlugin
export function getVersion(name) {
return DEPENDENCIES[name] // eslint-disable-line
}