Skip to content

Commit 701d02a

Browse files
author
Guillaume Chau
committed
fix(ui): cli-service more info link
1 parent 346f95d commit 701d02a

File tree

1 file changed

+6
-1
lines changed
  • packages/@vue/cli-ui/apollo-server/connectors

1 file changed

+6
-1
lines changed

packages/@vue/cli-ui/apollo-server/connectors/plugins.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,17 @@ function findPlugins (deps, file) {
9696
versionRange: deps[id],
9797
official: isOfficialPlugin(id) || id === CLI_SERVICE,
9898
installed: fs.existsSync(dependencies.getPath({ id, file })),
99-
website: getPluginLink(id),
99+
website: getLink(id),
100100
baseDir: file
101101
})
102102
)
103103
}
104104

105+
function getLink (id) {
106+
if (id === CLI_SERVICE) return 'https://cli.vuejs.org/'
107+
return getPluginLink(id)
108+
}
109+
105110
function getPlugins (file) {
106111
const plugins = pluginsStore.get(file)
107112
if (!plugins) return []

0 commit comments

Comments
 (0)