merge two Outlook web addins in @fluentui/react and @fluentui/react-components

William 25 Reputation points
2024-04-10T01:31:14.81+00:00

We have two different Outlook web addins, one written in @fluentui/react, the other in @fluentui/react-components, they also depends on different versions of other packages.

Now we are asked to merge the two under the same folder or project but with two separate manifest files.

I have a number of questions:

  1. one option is we may try to rewrite the @fluentui/react one into @fluentui/react-components, so we may share the same package.json and package-lock.json. But somehow I can't find - is there a guide of how to rewrite / translate web addin from @fluentui/react into @fluentui/react-components ?
  2. another option is, we keep the two web addins within their individual @fluentui/react and @fluentui/react-components, along with different package.json and package-lock.json. Is this doable? How to merge two web addins into one folder or project with separate manifest files, package.json and package-lock.json ?

Thanks,

William

Microsoft 365 and Office | Development | Other
Outlook | Windows | Classic Outlook for Windows | For business
0 comments No comments
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.