mui / toolpad

Toolpad: Full stack components and low-code builder for dashboards and internal apps.
https://mui.com/toolpad/
MIT License
1.28k stars 283 forks source link

A how to guide for 'how to import and use Toolpad in an existing codebase' #2107

Closed prakhargupta1 closed 8 months ago

prakhargupta1 commented 1 year ago

Duplicates

Latest version

Summary 💡

Currently, in our docs we have instructions to start a fresh Toolpad app. We should also have a dedicated page to show how Toolpad can be used in a existing project. Eg: A next.js app

Examples 🌈

https://interval.com/docs/best-practices#running-interval-inside-your-existing-codebase https://github.com/interval/interval-nextjs/wiki/Adding-Interval-to-a-Next.js-app-using-a-different-process

Motivation 🔦

No response

CAGLADJ commented 1 year ago

When including Toolpad into an existing next.js app, is it still necessary to build, before it is possible to use the pages, which have been created/edited in Toolpad?

Janpot commented 1 year ago

@CAGLADJ At the moment Toolpad run as a separate Node.js application. In the future we may explore ways to embed the Toolpad pages inside of your application, you can check the open feature request for this: https://github.com/mui/mui-toolpad/issues/1183

prakhargupta1 commented 8 months ago

Done in https://github.com/mui/mui-toolpad/pull/3214