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.
sitename.scm.azurewebsites.net
, I do not have a debug console > cmd option. Instead, I have "Environment", "SSH" and "Bash". I suspect you are referring to an App Service on Windows, however, this is apparently and App Service on Linux. When I use the Bash shell, I see a directory named "site". Inside of "site", I see a directory named "wwwroot". Inside of "wwwroot" I see my files. – Some User