vuelity
v2.1.5
Published
[![npm](https://img.shields.io/npm/v/vuelity.svg)](https://www.npmjs.com/package/vuelity) [![vue](https://img.shields.io/badge/vue-3.x-brightgreen)](https://v3.vuejs.org/)
Downloads
180
Maintainers
Readme
Vuelity
Install
CLI
npm i vuelity
CDN
<script src="https://unpkg.com/[email protected]/dist/vue.global.js"></script>
<script src="https://unpkg.com/vuelity/dist/vuelity.umd.min.js"></script>
Import
CLI
import { VTButton } from 'vuelity';
export default {
components: { VTButton };
}
Or register all at once in main.js:
import * as Vuelity from 'vuelity';
Object.keys(Vuelity).forEach(el => {
app.component(el, Vuelity[el]);
});
CDN
app.component('vt-button', Vuelity['vt-button']);
Or register all at once:
Object.keys(Vuelity).forEach(el => {
app.component(el, Vuelity[el]);
});