From the course: Microsoft Office Add-Ins for Developers
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Create the glossary add-in
From the course: Microsoft Office Add-Ins for Developers
Create the glossary add-in
- [Instructor] Lets apply all this by looking at a sample of creating a specialist dictionary glossary, so this will look something like a real application. Well, first of all, let's create a new project with the Yeoman generator. So, I'm back here in PowerShell and I'm in the Addins directory. I'm going to run yo office, usual thing. I'm going to create an Office Add-in project using React. We'll call it something sensible this time. We'll say Glossary. It's gonna be for Word. And now I can go down into my Glossary subdirectory. I'm gonna start up Visual Studio Code. And we could look at our code and we've got the index tx component and then the app.tsx component inside the components directory. So we already have the office-ui-fabric components included because we can see them up here. The libraries are loaded. The import is there for some of the controller we want. We'll probably want to add a few more. So here's how the glossary's going to work. We'll select some text in a…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.