diff --git a/code/lib/cli/src/initiate.ts b/code/lib/cli/src/initiate.ts index c595b5241497..abf5ef0f404b 100644 --- a/code/lib/cli/src/initiate.ts +++ b/code/lib/cli/src/initiate.ts @@ -427,12 +427,15 @@ export async function initiate(options: CommandOptions): Promise { logger.log('\nRunning Storybook'); try { - const isReactWebProject = - projectType === ProjectType.REACT_SCRIPTS || - projectType === ProjectType.REACT || - projectType === ProjectType.WEBPACK_REACT || - projectType === ProjectType.REACT_PROJECT || - projectType === ProjectType.NEXTJS; + const supportsOnboarding = [ + ProjectType.REACT_SCRIPTS, + ProjectType.REACT, + ProjectType.WEBPACK_REACT, + ProjectType.REACT_PROJECT, + ProjectType.NEXTJS, + ProjectType.VUE3, + ProjectType.ANGULAR, + ].includes(projectType); const flags = []; @@ -442,7 +445,7 @@ export async function initiate(options: CommandOptions): Promise { flags.push('--'); } - if (isReactWebProject) { + if (supportsOnboarding) { flags.push('--initial-path=/onboarding'); }