A SharePoint Framework shared library that includes an approach to share langauge strings across multiple SharePoint Framework webparts. Currently used by the Followed Sites webpart
- Supported in SharePoint Online
Only works in SharePoint Online due to version dependency.
Solution | Author(s) |
---|---|
library-starter-kit-shared | Eric Overfield |
Version | Date | Comments |
---|---|---|
1.0 | December 25, 2019 | Initial release for SharePoint Starter Kit v2 |
3.0 | February 2023 | Update to SPFx 1.16.1 - V3 of Starter Kit |
THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
- Clone this repository
- Within the library-starter-kit-shared source, i.e. ./source/library-starter-kit-shared
- in the command line run:
npm install
gulp build
gulp bundle
npm link
- This project may now we consumed by another SPFx project. For an example, refer to the included SPFx webpart, ./source/react-followed-sites
- Reference library component in other solutions to make things work - https://learn.microsoft.com/en-us/sharepoint/dev/spfx/library-component-tutorial