Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/theguptaji/vue-app

A simple vue app with CRUD functionality
https://github.com/theguptaji/vue-app

Last synced: 8 days ago
JSON representation

A simple vue app with CRUD functionality

Awesome Lists containing this project

README

        

[Thanks to tania](https://www.taniarascia.com/getting-started-with-vue/)
# A Vue app which demostrate following functionalities:-

Vue directives such as
```
v-for, v-if, v-else # for conditions and looping inside
v-on # for binding functions inside
```
State management in Vue
```
data() { return } # lives inside script
props: # lives inside script
```
API calls
```
async await # for making asynchronus calls
fetch(url, method..etc) or axios # for making the api call to url
trycatch # good practice
```
Lifecycle method
```
mounted: {} # lives inside script
```

## Project setup
```
npm install
```

### Compiles and hot-reloads for development
```
npm run serve
```

### Compiles and minifies for production
```
npm run build
```

### Lints and fixes files
```
npm run lint
```

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).