Skip to content

Latest commit

 

History

History

vue-component-library.base-heading

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.base-heading"></script>
<script>
new Vue({ el: '#app' })
</script>

In a module system

Install the component with NPM:

npm install vue-component-library.base-heading

Then import the component:

import BaseHeading from 'vue-component-library.base-heading'

And either globally register it for use in all components:

Vue.component(BaseHeading, 'vue-component-library.base-heading')

or locally register it for use in an individual component:

export default {
components: { BaseHeading }
}

Usage

undefined