Building an application customizer
Git branch
This section uses the https://github.com/PacktPublishing/Mastering-SharePoint-Development-with-the-SharePoint-Framework-/tree/chapter10/build-an-application-customizer Git branch from the repository.
Now that we know what an application customizer is and what it’s used for, let’s start building one.
For this chapter, we will create an application customizer as per the details mentioned in the Requirement 3 – getting a visual notification when a product is low in stock section of Chapter 4, which will provide a warning message at the top of all the pages of a site when one or more products are low in stock.
Adding an application customizer to the solution
From the existing Packt.Solutions.ProductManagement folder, run the following command:
yo @microsoft/sharepoint --component-type "extension" --extension-type "ApplicationCustomizer" --component-name "PacktProductApplicationCustomizer...