Now, let's update the project:
- Go back to Visual Studio Code and find the deploy-azure-storage.json file in the /config folder of the project. It contains a placeholder that we now need to fill:
{
"workingDir": "./temp/deploy/",
"account": "<!-- STORAGE ACCOUNT NAME -->",
"container": "helloworld-webpart",
"accessKey": "<!-- ACCESS KEY -->"
}
Replace the value of account, container, and accessKey with the following values:
- account: The Storage account name that you created in Microsoft Azure
- container: The container name you created in the Storage account, such as cdn
- accessKey: The Storage account access key you recorded earlier (key1)
The updated deploy-azure-storage-json file should look like this:
{
"workingDir": "./temp/deploy/",
"account": "spfxcdnstorage",
"container"...