mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-02-07 07:28:28 -06:00
fix(ui): cli-service more info link
This commit is contained in:
@@ -96,12 +96,17 @@ function findPlugins (deps, file) {
|
||||
versionRange: deps[id],
|
||||
official: isOfficialPlugin(id) || id === CLI_SERVICE,
|
||||
installed: fs.existsSync(dependencies.getPath({ id, file })),
|
||||
website: getPluginLink(id),
|
||||
website: getLink(id),
|
||||
baseDir: file
|
||||
})
|
||||
)
|
||||
}
|
||||
|
||||
function getLink (id) {
|
||||
if (id === CLI_SERVICE) return 'https://cli.vuejs.org/'
|
||||
return getPluginLink(id)
|
||||
}
|
||||
|
||||
function getPlugins (file) {
|
||||
const plugins = pluginsStore.get(file)
|
||||
if (!plugins) return []
|
||||
|
||||
Reference in New Issue
Block a user