lagartoflojo / VueJS-Workshop

Material for the workshop about Vuejs and TypeScript

Home Page:https://vue-workshop1.azurewebsites.net/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VueJS-Workshop

Workshop about VS Code and modern web apps on Azure with Typescript and VueJs.

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

Prerequisites

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

Installing and Running

Install dependencies:

npm install

Run in development environment:

npm run start

Run in production environment:

npm run prod

Deployment

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

kuduscript -y --node

Modify line 111 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

Exercises

Authors

License

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

About

Material for the workshop about Vuejs and TypeScript

https://vue-workshop1.azurewebsites.net/

License:MIT License


Languages

Language:TypeScript 42.4%Language:CSS 26.1%Language:JavaScript 15.5%Language:HTML 9.2%Language:Batchfile 6.7%