This is a simple SharePoint web part built in SharePoint Framework (SPFx) 1.7 using the React SPFx template. This web part provides dynamic data to other web parts on the page.
This solution is intended to accompany Introduction to SharePoint Framework, an online educational course that helps you to learn modern SharePoint Framework development techniques. Learn how to build your own web parts by following the lessons found at sharepointfx.io.
# Install dependencies
npm i
# Run the local workbench
gulp serve
# Bundle the solution
gulp bundle --ship
# Package the solution
# - This creates a sharepoint/solution/earnings.sppkg file
gulp package-solution --ship
Once you have a earnings.sppkg
file, you can deploy this to your SharePoint environment's App Catalog. See the Deploying and Updating Solutions lesson for more information on solution deployment.
For more information about the structure and functionality of this solution, see the official SharePoint Framework documentation.