I’m new to Vercel, I’ve found deploying Next js to be really easy and well documented, as is deploying a Storybook integration. Deploying both together is proving to be a nightmare, I’ve searched for documentation for this and found nothing.
I’ve tried coming up with a shared vercel.json combining the individual json files, I’ve found that slight configuration changes switches from deploying Storybook to deploying Next js and vice versa, but nothing resulted in both being available. I’ve also tried creating a sub folder with storybook configuration, which built and ran fine locally but not on vercel. I also tried deploying from a subfolder that only had a vercel file in it, this failed all together as apparently its not allowed. I don’t mind how I have to do this, short of duplicating my entire project; single/multiple projects, unusual directory structure, whatever, I just want to have both resources available via Vercel.
1