1.0.15 • Published 5 years ago
meta-modal v1.0.15
meta-modal
Datatable component with pagination and filters to be used with Meta Crud.
Installation
Via NPM:
$ npm install --save meta-modal
Usage/Example
Just import it and use it as a directive:
<template>
<div id="app">
<meta-modal :only-modal="true" ref="modal">
<template slot="body">
<p>Mensagem exemplo de modal que abre automáticamente.</p>
</template>
</meta-modal>
</div>
</template>
<script>
import MetaModal from 'meta-modal'
export default {
name: 'App',
components: {
MetaModal,
},
}
</script>
Build Setup
# install dependencies
$ npm install
# serve with hot reload at localhost:8080
$ npm run dev
# build for production with minification
$ npm run build