What kind of packages are used in SPFX?

What kind of packages are used in SPFX?

We will just touch base on few aspects of SPFx which is required to know for purpose of article. SPFx is developed using NodeJS. We use different npm packages which can be used in SPFx solution. Gulp is used to build, bundle and package SPFx solution. We get *.sppkg file which can be used to deploy to app catalog.

How to create a build pipeline for SPFX?

Creating a build pipeline will basically create a pool with one virtual machine (ubuntu) and execute necessary commands which will be required to build a SPFx solution. High level steps are as follows

Which is the only version of NodeJS that supports SPFX?

Install NodeJS, please make sure you are choosing either 8.x or 10.x which are the only version supported for SPFx solution. Next, run npm install commands so that all the npm packages required and mentioned in package-solution.json will be install for our SPFx project.

How to deploy sppkg file to App Catalog?

For deploying the sppkg file to app catalog and installing to target site we will have to use Office 365 CLI. To make this dynamic, we will use pipeline variables to configure different properties which are required in commands. Below is for your reference. Below are high level steps for creating release pipeline.

Why is the SharePoint framework ( SPFX ) important?

Why the SharePoint Framework? Questions? The SharePoint Framework (SPFx) is a page and web part model that provides full support for client-side SharePoint development, easy integration with SharePoint data, and extending Microsoft Teams.

How to automate deployment of package ( CD )?

Automate deployment of package (CD) to deploy to app catalog and install to target site collections. Creating a build pipeline will basically create a pool with one virtual machine (ubuntu) and execute necessary commands which will be required to build a SPFx solution.