[Examples] Fix with-yarn-workspaces Vercel deploy button (#12867)
Fixes: https://github.com/zeit/next.js/issues/10734 Related: https://github.com/zeit/now/discussions/4320 This fixes the **Deploy your own** button for the with-yarn-workspaces example. Currently the deployment fails with the following error. ``` Module not found: Can't resolve 'bar' in '/zeit/3ad1f9cd/pages' ``` I also added a dynamic api route to the example, because I had problems configuring vercel to redirect to dynamic routes. This will be the new Vercel-Import-From link: [Deploy](https://vercel.com/import/project?template=https://github.com/Prioe/next.js/tree/fix-with-yarn-workspaces-deploy/examples/with-yarn-workspaces)
Showing
Please
register
or
sign in
to comment