From your description it is not very clear to me how you want to split the three front-ends.
There are several ways depending on what you actually want to achieve.
You can put reusable GUI parts in components and put this components in a library package which you import in the application package.
If only you REST part should be reused put this code in a library package and import it on the application packages.