Getting to know the files and the folder structure
In this section, we will look at how to structure your PCF project and what each file means. We will also look at the structure provided by boilerplate code using the PCF Generator.
PCF projects using Power Apps CLI
When you initialize a PCF project, Power Apps CLI will create a few files and folders in the location that you executed your initialization command:
pac pcf init -ns Power -n HelloWorld -t field
The sample files and folder structure are shown in the following screenshot, which was created by using the preceding command in a folder named PowerMeUp:
Let's review the files and folders with respect to the command that was executed:
- PowerMeUp.pcfproj: This is the project file and will get its name based on the folder name that you executed in the initialization command. So, remember to name your folder appropriately.
- tsconfig...