Releases: hugoabernier/react-application-injectcss
Releases · hugoabernier/react-application-injectcss
SPFx 1.8 version
Manual deployment
- Upload the react-application-injectcss.sppkg from the sharepoint folder to your App catalog.
- When prompted to deploy to all sites, choose the option that suits your needs.
Automated deployment
- If you have not done so already, install the PnP PowerShell Cmdlets
- Edit the
DeployApplicationCustomizer.ps1
file and change the$tenantUrl
variable to point to your tenant. - From a PowerShell console, run the
DeployApplicationCustomizer.ps1
script to automatically deploy to all sites. - You will be prompted to enter your credentials.
- After providing your credentials, the extension will be deployed
Enabling the customizer
- Edit the
EnableApplicationCustomizer.ps1
file and change the $tenantUrl variable to point to your tenant. - In the same file, change the
$customCSSUrl
variable to point to your custom CSS URL. - From a PowerShell console, run the
EnableApplicationCustomizer.ps1
script to automatically deploy to all sites. - You will be prompted to enter your credentials.
- After providing your credentials, the extension will be deployed using your custom CSS URL.
Disabling the extension
- Edit the
DisableApplicationCustomizer.ps1
file and change the $tenantUrl variable to point to your tenant. - From a PowerShell console, run the
DisableApplicationCustomizer.ps1
script to automatically deploy to all sites. - You will be prompted to enter your credentials.
- If prompted to remove the application, choose Yes.
- The extension will be removed.