Skip to content

📁 A Vue.js component to display hierarchical data (like the MacOS X finder)

License

Notifications You must be signed in to change notification settings

jledentu/vue-finder

Repository files navigation

Vue Finder

A Vue.js component to display hierarchical data (like the MacOS X finder)

Build Status Npm badge Codecov CodeFactor semantic-release

Screenshot

Installation

npm install --save @jledentu/vue-finder

vue-finder can be used as a module in both CommonJS and ES module environments. When in non-modular environment, vue-finder will register all the components to vue by itself.

ES6

import { Finder } from '@jledentu/vue-finder';

export default {
  ...
  components: {
    Finder
  },
  ...
};

CommonJS

//
// You can register a component manually
//
var Vue = require('vue');
var VueFinder = require('@jledentu/vue-finder');

var YourComponent = Vue.extend({
  ...
  components: {
    'vue-finder': VueFinder.Finder
  },
  ...
});

Browser

<script src="path/to/vue/vue.min.js"></script>
<script src="path/to/@jledentu/vue-finder/dist/vue-finder.min.js"></script>
<!-- Components are registered globally -->

After that, you can use it in your templates:

<vue-finder></vue-finder>

Changelog

See the GitHub release history.

About

📁 A Vue.js component to display hierarchical data (like the MacOS X finder)

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages