vue-diagrams
Diagram component for vue.js, inspired by react-diagrams
Generated using vue-cli-template-library.
Installation
npm install vue-diagrams
vue-diagrams can be used as a module in both CommonJS and ES modular environments.
When in non-modular environment, vue-diagrams will register all the components to vue by itself.
ES6
//// You can register a component manually//; ... components: Diagram ...; //// or register the whole module with vue//; // Install this libraryVue;
CommonJS
//// You can register a component manually//var Vue = ;var ModuleLibrary = ; var YourComponent = Vue; //// or register the whole module with vue//var Vue = ;var ModuleLibrary = ; // Install this libraryVue;
Browser
<!-- Components are registered globally -->
After that, you can use it in your Vue components:
Changelog
See the GitHub release history.
Contributing
See CONTRIBUTING.md.