Giter Club home page Giter Club logo

simple-vuejs-app's Introduction

simple-vue-app

What is the use of this Repo Generic badge

This Repo demonstrates the use of the following in vuejs

  1. Vue Routing
  2. Components
  3. Communication between Components ( Parent to child component )
  4. Axios Library to make HTTP calls

Application Live URL Generic badge

The Application is deployed in

Prerequisites

Install NodeJS Generic badge

Refer https://nodejs.org/en/ to install NodeJS

Install Vue Cli Generic badge

Install Vue Cli Node Package Globally using the following Command.

npm install -g @vue/cli

Cloning and Running the Application

Clone the application to local

Go into the project Folder and install the npm packages using the following command

npm install

Run the following command to run the application

npm run serve

The Application runs on localhost:8080

Application Design

Views and components

Customers : This View Displays a list of customers and gets the data from a json from assets folder

CustomerDetails : This View Displays the Details of a single customer and gets the data from a json from assets Folder

Display : Display component displays the name of the selected customer in Customers View. Display is a child component of Customers View

Http Library Generic badge

axios library is used to make http calls

Routing

The Application has 2 endpoints

/customers : The ties to Customers View

/customerdetails : This ties to CustomerDetails View

References

VueJS : https://vuejs.org/v2/guide/

vue cli : https://cli.vuejs.org/guide/

axios : https://www.npmjs.com/package/axios

vue bootstrap : https://bootstrap-vue.js.org/docs

vue router : https://router.vuejs.org/guide/

simple-vuejs-app's People

Contributors

aditya-sridhar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.