New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vue-instant-table

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-instant-table

Instant table generator with awesome Vue

  • 1.1.7
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

vue-instant-table

Instant table generator with awesome Vue

Installation

Quick Install

# yarn
yarn add vue-instant-table

# npm
npm install --save vue-instant-table

Dependencies

  • Jquery
  • Font Awesome
  • Bootstrap
  • Vue 2.x
  • Lodash
  • Moment.js
  • Vue Common Filters

Usage

Javascript Section

import VueInstantTable from 'vue-instant-table';

const app = new Vue({
    el: '#app',
    components: {
        'vue-instant-table': VueInstantTable
    },
    data: function () {
        return {
            table: {
                data: ...,
                columns: ...,
                filter: '',
                options: {
                  pagination: {
                      itemsPerPageList: [10, 30, 50]
                  }
                },
                rowActions: {
                    update: {
                        label: 'Edit',
                        icon: 'fa fa-pencil',
                        class: 'btn btn-xs btn-primary btn-circle'
                    },
                    delete: {
                        label: 'Remove',
                        icon: 'fa fa-trash',
                        class: 'btn btn-xs btn-danger btn-circle'
                    }
                }
            }
        }
    },
    methods: {
        openEditModal: function (rowData, index) {
        },
        openRemoveModal: function (rowData, index) {
        },
    }
});

HTML Section

<vue-instant-table
    v-model="table.data"
    :columns="table.columns"
    :filter="table.filter"
    :options="table.options"
    :row-actions="table.rowActions"
    v-on:row-update="openUpdateModal"
    v-on:row-delete="openDeleteModal">
</vue-instant-table>

TODO

  • reduce dependencies

Build Setup

# install dependencies
npm install

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

# build for production with minification
npm run build

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test

FAQs

Package last updated on 11 Jul 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc