SharePoint Framework Extensions Samples & Tutorial Materials
This repository contains the samples that demonstrate different usage patterns for the SharePoint Framework extensions.
Have issues or questions?
Please use following logic on submitting your questions or issues to right location to ensure that they are noticed and addressed as soon as possible.
- You have general question or challenge with SPFx - use sp-dev-docs repository issue list.
- You have issue on specific extension or sample - use issue list in this repository.
- SharePoint Framework Extensions
- Overview of the SharePoint Framework
- SharePoint Framework development tools and libraries
Using the samples
To build and start using these projects, you'll need to clone and build the projects.
Clone this repo by executing the following command in your console:
git clone https://github.com/pnp/sp-dev-fx-extensions.git
Navigate to the cloned repository folder which should be the same as the repository name:
To access the samples use the following command, where you replace
sample-folder-name with the name of the sample you want to access.
cd samples cd sample-folder-name
and for the tutorials, use the following command:
Now run the following command to install the npm packages:
This will install the required npm packages and dependencies to build and run the client-side project.
Once the npm packages are installed, run the following command to start nodejs to host your extension and preview that in the SharePoint Online pages:
This repository's contributors are all community members who volunteered their time to share code samples. Work is done as an open source community project, which each sample contained in their own solution.
These samples are direct from the feature teams, SharePoint PnP core team (http://aka.ms/m365pnp) or shared by the community. We welcome your input on issues and suggestions for new samples. We do also welcome community contributions around the extensions. If you have any questions, just let us know.
Please have a look on our Contribution Guidance before submitting your pull requests, so that we can get your contribution processed as fast as possible.
Code of Conduct
Sharing is caring!