vscode-azureappservice | Azure App Service extension for VS Code | Azure library
kandi X-RAY | vscode-azureappservice Summary
kandi X-RAY | vscode-azureappservice Summary
Azure App Service extension for VS Code
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of vscode-azureappservice
vscode-azureappservice Key Features
vscode-azureappservice Examples and Code Snippets
Community Discussions
Trending Discussions on vscode-azureappservice
QUESTION
I have a Vue.js app. This app was created using the Vue-Cli. At this time, this is a basic "hello world" app. I have this app running on my local machine. I run it by using npm run serve
from the Terminal window in Visual Studio Code. I'm now trying to deploy this app from Visual Studio Code to an Azure App Service.
I have an Azure App Service created. I also installed the Azure App Service Visual Studio Code extension. From the "Terminal" window in Visual Studio Code, I entered "npm run build". This created a directory named "dist". I then right-click on that directory and choose "Deploy to Web App...". I then choose my subscription and app service name and choose "Deploy". I see a prompt that says "Deployment to "." I then click the "Browse Website" button. This launches a browser window. In the browser, I see a splash screen that says "Hey Node developers!" However, I was expecting to see my Node.js app. What am I missing?
In an attempt to deploy this app, I ran npm run build
from the "Terminal" window. This created a "dist" directory.
ANSWER
Answered 2019-Jun-07 at 08:37Please refer to the Local Git Deployment as per the Microsoft Docs.
Failing that, you could try to deploy manually via FTP. You can do that by going to your Azure Portal:
App Service => Deployment Center => FTP => Dashboard
You'll then find some FTPS credentials on that page and all you have to do is deploy your dist
folder up to /site/wwwroot
, see more here.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install vscode-azureappservice
Download and install the Azure App Service extension for Visual Studio Code If you're interested in deploying single page web apps or progressive web apps (something without an express server), install the Azure Storage extension
Wait for the extension to finish installing then reload Visual Studio Code when prompted
Once complete, you'll see an Azure icon in the Activity Bar If your activity bar is hidden, you won't be able to access the extension. Show the Activity Bar by clicking View > Appearance > Show Activity Bar
Sign in to your Azure Account by clicking Sign in to Azure… If you don't already have an Azure Account, click "Create a Free Azure Account"
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page