Skip to content

Latest commit

 

History

History
76 lines (48 loc) · 2.31 KB

README.md

File metadata and controls

76 lines (48 loc) · 2.31 KB

dotnet2018-vue

VueJS

Modern web app on Azure with Typescript and VueJs.

An example application to list cities in the world and the weather in each of them.

Choose your favorite example

Prerequisites

  • NodeJS - The package manager to install dependencies
  • VSCode - To code the application
  • Git - To get the code of the application

Installing and Running

Install dependencies:

npm install

Run in development environment:

npm run start

Run in production environment:

npm run prod

Deployment

Install kuduscript tool:

npm install kuduscript -g

Run to generate the two files needed for deployment (.deployment and deploy.cmd):

kuduscript -y --node

Modify line 103 of the .deploy.cmd file to:

call :ExecuteCmd !NPM_CMD! run prod

Create a web.config file based on the following example structure and modify the url attribute in the StaticContent rule to link to your public folder.

<rule name="StaticContent">
    <action type="Rewrite" url="{publishing_directory}{REQUEST_URI}"/>
</rule>

where {publishing_directory} = your public folder

Authors


Quique Fdez Guerra
👨‍💻🌍🐦

Juan Carlos
👨‍💻🌍🐦

License

This project is licensed under the MIT License - see the LICENSE.md file for details