Solution Name
Hit Enter to have the default name (spfx-crud-no-framework in this case) or type in any other name for your solution.
Selected choice - Hit Enter.
Target for component
Here, we can select the target environment where we are planning to deploy the client webpart; i.e., SharePoint Online or SharePoint OnPremise (SharePoint 2016 onwards).
Selected choice - SharePoint Online only (latest).
Location of files
We may choose to use the same folder or create a subfolder for our solution.
Selected choice - Same folder.
Deployment option
Selecting Y will allow the app to be deployed instantly to all sites and will be accessible everywhere.
Selected choice - N (install on each site explicitly).
Type of client-side component to create
We can choose to create a client-side webpart or an extension. Choose the webpart option.
Selected choice - WebPart.
Web part name
Hit Enter to select the default name or type in any other name.
Selected choice - NoFrameworkCRUD.
Web part description
Hit Enter to select the default description or type in any other value.
Selected choice - CRUD operations with no framework.
Framework to use
Select any JavaScript framework to develop the component. Available choices are (No JavaScript Framework, React, and Knockout)
Selected choice - No JavaScript Framework.
Step 5
Yeoman generator will perform scaffolding process to generate the solution. The scaffolding process will take a significant amount of time.
Step 6
Once the scaffolding process is completed, in the command prompt type the below command to open the solution in the code editor of your choice.
Configure Property for List Name
SPFx solution by default has the description property created. Let us change the property to list name. We will use this property to configure the list name on which the CRUD operation is to be performed.
Step 1
Open mystrings.d.ts under \src\webparts\noFrameworkCrud\loc\ folder.
Step 2
Rename DescriptionFieldLabel to ListNameFieldLabel.