vue-component-library

0.0.8 • Public • Published

vue-component-library

Go to the official documentation page for more instructions and usage guidelines.

Installation

Directly in the browser

Drop the component in with a <script> tag alongside Vue:

<div id="app">
<!-- ... use component here ... -->
</div>
 
<script src="https://unpkg.com/vue"></script>
<script src="https://unpkg.com/vue-component-library"></script>
<script>
new Vue({ el: '#app' })
</script> 

In a module system

Install the component with NPM:

npm install vue-component-library

Then import the component:

import VueComponentLibrary from 'vue-component-library'

And either globally register it for use in all components:

Vue.component(VueComponentLibrary, 'vue-component-library')

or locally register it for use in an individual component:

export default {
components: { VueComponentLibrary }
}

Usage

undefined

Readme

Keywords

none

Package Sidebar

Install

npm i vue-component-library

Weekly Downloads

176

Version

0.0.8

License

MIT

Unpacked Size

708 kB

Total Files

39

Last publish

Collaborators

  • frederikwagner