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

https://github.com/lassehaslev/vue-crud

Create Read Update Delete logic for vue
https://github.com/lassehaslev/vue-crud

Last synced: about 1 month ago
JSON representation

Create Read Update Delete logic for vue

Awesome Lists containing this project

README

          

# @lassehaslev/vue-crud

> Create read update delete logic for Vue

# Installation
Run ```npm install @lassehaslev/vue-crud --save``` in your project folder

## Usage
```js
import Crud from '@lassehaslev/vue-crud';
export default {

mixins: [ Crud ],

template: `



Name

Action





{{ item }}

Empty
Remove




Append empry
Prepend empry
Delete all

`,

data() {
return {
items: [
'Html',
'Css',
'Javascript',
],
}
},
```

## Development

``` bash
# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build
```

For detailed explanation on how things work, consult the [docs for vue-loader](http://vuejs.github.io/vue-loader).