next.jsvercelturborepo

I want to use turborepo in a project where I don't use next.js. Is something like this possible?


I searched a bit but couldn't find the exact solution.

How to use turborepo without using next.js any comments about it guys?

I don't want to use next.js because its advantages are not important to me but I really like turborepo. There is a solution built with next.js in vercel's documentation.


Solution

  • Next.js is in no way a pre-condition to use Truborepo. You can use Turborepo within any JS code base that you‘d like.

    All you have to do is to create an app, for example with Vue.js, in the /apps directory. Once that‘s done, be sure to register the needed pipelines in your Turborepo config-file (turbo.json). And that‘s basically it.

    Here is a more thorough explanation of what I tried to explain.