Updated SPFX40 news slider that pulls data from multiple source SharePoint webs and lists. Reads data from SPView for user defined query support. Based on https://github.com/OlivierCC/spfx-40-fantastics/wiki/News-Slider
SharePoint Framework
SharePoint Online | SharePoint 2013 | SharePoint 2016 | SharePoint 2019 | Classic | Modern |
---|---|---|---|---|---|
Yes | No | Yes | Yes | Yes | Yes |
SPFx solution configuration. Allows us to control the name of the solution as seen in SharePoint, the file name of the output .sppkg, as well as the version number of the solution.
- Open serve.json file and update the pageUrl value in default configuration node to your dev site workbench URL.
gulp clean
gulp build
gulp bundle
gulp serve
Command | Purpose |
---|---|
gulp clean |
Remove generated items; sometimes helpful if things don't seem to be behaving properly |
gulp build |
Builds the solution |
gulp bundle |
Bundles resources together prior to packaging |
gulp package-solution |
Packages the solution |
gulp serve |
Test locally in the SharePoint Workbench |
Command | Purpose |
---|---|
gulp clean |
Remove generated items; sometimes helpful if things don't seem to be behaving properly |
gulp build --ship |
Builds the solution |
gulp bundle --ship |
Bundles resources together prior to packaging |
gulp package-solution --ship |
Packages the solution |
- English