npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

vue-table2next

v0.0.17

Published

Datatable component for Vue 2.x

Downloads

109

Readme

npm npm npm

Vuetable-2 - data table simplify!

Warning!

This branch is the beta release of v2.0 of Vuetable-2

  • If you're looking for Vuetable that works with Vue 1.x, please go here

  • If you're looking for the stable release of Vuetable-2, please go here

Documentation and Tutorial

You can find documentation for v2.0 of Vuetable-2 here

The tutorial for v2.0 is in the work, so you'll have to wait until I can find the time to finish it, sorry.

Sample Codes

I've created a bunch of examples in the CodeSandbox, please have a look.

If you any question, please post your questions in the "Issues" section of this Q&A repo. Be sure to put the link to the appropriate CodeSandbox in question, or the one that you forked.

Breaking Changes

v2.0.0-beta.1

  • Please see the release note.

v1.6.0

  • The icons prop of VuetablePagination is now moved into the css prop object. See this codepen.

Usage

NPM

npm install vuetable-2@next --save-dev

Javascript via CDN

Note

This has not been test thoroughly in this beta version, and any help would be much appreciated.

// vuetable-2 dependencies
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.16/vue.min.js"></script>
// vuetable-2
<script src="https://unpkg.com/vuetable-2@next"></script>
Vue.use(Vuetable)

The .use from above will register all the components globally.

function install(Vue){
  Vue.component("vuetable", Vuetable);
  Vue.component("vuetable-pagination", VuetablePagination);
  Vue.component("vuetable-pagination-dropdown", VuetablePaginationDropDown);
  Vue.component("vuetable-pagination-info", VuetablePaginationInfo);
}

Also you have the ability to access certain components if you need them:

Vuetable: Vuetable.default/Vuetable.Vuetable,
VuetablePagination: Vuetable.VuetablePagination,
VuetablePaginationInfo: Vuetable.VuetablePaginationInfo,
VuetablePaginationDropdown: Vuetable.VuetablePaginationDropdown

Contributions

Any contribution to the code must be done to the next branch.

License

Vuetable is open-sourced software licensed under the MIT license.