PCF Generator
PCF Generator is another CLI package sourced from the npm library that helps you create boilerplate code using a scaffolding tool called Yeoman. The package not only creates necessary files and folders, but also initializes the Dataverse solution while correctly configuring references in the manifest file. It follows the recommended programming guidelines for creating folder structures and files. The source code for PCF Generator is available on GitHub and links to the source code are provided in the Further reading section of this chapter.
Installing PCF Generator
Perform the following steps to install PCF Generator:
- Before you begin using PCF Generator, you need to install Yeoman by running the following command:
npm install -g yo
- You also need to install the PCF Generator package from npm with the following command:
npm install -g generator-pcf
For the installation of Yeoman and PCF Generator, we have used the -g attribute. Hence, these packages...