Skip to content

Commit 5281a42

Browse files
committedJan 26, 2024
feat(cli): add link for troubleshooting docs
1 parent 3b5ec7a commit 5281a42

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

‎packages/cli/src/config/resolveAppConfig.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ export const resolveAppConfig = ({
2929

3030
if (appConfig.bundler === undefined || appConfig.theme === undefined) {
3131
logger.error(
32-
`${colors.magenta('bundler')} and ${colors.magenta(
33-
'theme',
34-
)} are required`,
32+
`The ${colors.magenta('bundler')} or ${colors.magenta('theme')} option is missing. For more details: ${colors.green('https://v2.vuepress.vuejs.org/guide/troubleshooting.html#the-bundler-theme-option-is-missing')}`,
3533
)
3634
return null
3735
}

0 commit comments

Comments
 (0)
Please sign in to comment.