Reputation: 5235
I have craeted a new serverless function from the azure portal.
Now I would install a library with npm.
I can access to function using the Azure VS Code extension.
The problem is that I can't run npm install
because the function is not in local repository.
How can I pull the azure function?
Upvotes: 2
Views: 932
Reputation: 199
You can also create, run and publish Azure function locally in VS CODE using some azure extension Like Azure function, azurite, azure account, azure storage You also need Microsoft azure storage explorer for testing Azure Queue Messages.
Upvotes: 0
Reputation: 446
Pull/clone just for a specific function from Function App is not possible. All functions in a Function App are deployed as a single project. So you will have to download the site content from the Overview section of Function App, after which you can open it in VS Code.
Upvotes: 4