SharePoint Framework web part, Teams tab, personal app, app page samples
Go to file
Hugo Bernier b9e1f2357e
Merge pull request #3934 from pnp/dependabot/npm_and_yarn/samples/react-check-user-group/word-wrap-1.2.4
Bump word-wrap from 1.2.3 to 1.2.4 in /samples/react-check-user-group
2023-07-20 17:38:42 -04:00
.github Renamed authors to contributors 2023-02-18 23:16:47 -05:00
samples Merge pull request #3934 from pnp/dependabot/npm_and_yarn/samples/react-check-user-group/word-wrap-1.2.4 2023-07-20 17:38:42 -04:00
templates Updated readme template and sample template for 1.17.2 2023-06-13 09:45:55 -04:00
tutorials Changed docs links to learn 2022-10-24 09:42:45 -04:00
.gitattributes Added attributes to prevent multiple git updates within containers 2022-01-09 19:41:44 -05:00
.gitignore fixed gitignore 2023-05-03 11:10:49 -04:00
CODE_OF_CONDUCT.md Updated telemetry on static pages 2023-03-12 21:19:53 -04:00
CONTRIBUTING.md Updated telemetry on static pages 2023-03-12 21:19:53 -04:00
LICENSE Updated license accordingly. 2016-09-08 20:26:05 +03:00
README.md Updated telemetry on static pages 2023-03-12 21:19:53 -04:00
SECURITY.md Updated telemetry on static pages 2023-03-12 21:19:53 -04:00
SUPPORT.md Updated telemetry on static pages 2023-03-12 21:19:53 -04:00
package-lock.json Updated Fluent UI 9 Demo to latest SPFx and Fluent UI 9 (#3149) 2022-11-17 15:20:57 +02:00

README.md

SharePoint Framework Client-Side Web Part Samples & Tutorial Materials

GitHub Repo stars GitHub forks GitHub watchers Twitter Follow YouTube Channel Subscribers GitHub issues GitHub pull requests

This repository contains community samples that demonstrate different usage patterns for the SharePoint Framework client-side web parts.

We do welcome community contributions to the samples folder in this repository for demonstrating different use cases with SharePoint Framework. Notice that if you use 3rd party libraries, please make sure that library license allows distributions of it as part of your sample.

SharePoint client-side web parts are controls that appear inside a SharePoint page but run locally in the browser. They're the building blocks of pages that appear on a SharePoint site. You can build client-side web parts using modern script development tools and the SharePoint workbench (a development test surface), and you can deploy your client-side web parts to classic web part pages in Office 365 tenants. In addition to plain JavaScript projects, you can build web parts alongside common scripting frameworks, such as AngularJS and React. For example, you can use React along with components from Office UI Fabric React to quickly create experiences based on the same components used in Office 365.

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.

Additional resources

Using the samples

To build and start using these projects, you'll need to clone and build the projects.

Clone this repository by executing the following command in your console:

git clone https://github.com/pnp/sp-dev-fx-webparts.git

Navigate to the cloned repository folder which should be the same as the repository name:

cd sp-dev-fx-webparts

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:

cd tutorials

Now run the following command to install the npm packages:

npm install

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 preview your web parts in SharePoint Workbench:

gulp serve

Authors

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, with each sample contained in their own solution.

Contributions

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 client-side web parts. 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

This repository has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Sharing is caring!