/meter-react

A Meter web part built in SharePoint Framework using React.

Primary LanguageTypeScriptMIT LicenseMIT

meter-react

This is a simple meter/guage web part built in SharePoint Framework (SPFx) using the React SPFx template.

Building Your Own Web Part

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 meter web part by following the lessons found at sharepointfx.io.

Getting Started

# Install dependencies
npm i

# Run the local workbench
gulp serve

Deploying to SharePoint

# Bundle the solution
gulp bundle --ship

# Package the solution
#  - This creates a sharepoint/solution/meter-react.sppkg file
gulp package-solution --ship

Once you have a meter-react.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.

Learn More

For more information about the structure and functionality of this solution, see the official SharePoint Framework documentation.