Skip to content

Instantly share code, notes, and snippets.

@rubanraj54
Created December 18, 2018 22:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rubanraj54/862ec58d1cdc689868a38411c40c0d5d to your computer and use it in GitHub Desktop.
Save rubanraj54/862ec58d1cdc689868a38411c40c0d5d to your computer and use it in GitHub Desktop.
<template>
<div id="app">
<VueBootstrap4Table :payload="data" :table-config="config"></VueBootstrap4Table>
</div>
</template>
<script>
import VueBootstrap4Table from 'vue-bootstrap4-table'
export default {
name: 'App',
data: function () {
return {
data: {
rows: [],
columns: []
},
config: {
pagination: true,
num_of_visible_page: 7,
per_page: 10
}
}
},
components: {
VueBootstrap4Table
},
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment