I made some component that uses shadcn, own css and bunch of other components. I want to use that component in other projects by bundling it and hosting it so i can just add few lines of js do add that component. Component also use it's own api route but that could be moved if there is no way to bundle it like that.
Does anyone have idea how to do that?