hello-vue-components.hello-a

2.0.0-alpha.3 • Public • Published

hello-vue-components.hello-a

A component that says "HelloA" with orange text.

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/hello-vue-components.hello-a"></script>
<script>
new Vue({ el: '#app' })
</script>

In a module system

Install the component with NPM:

npm install hello-vue-components.hello-a

Then import the component:

import HelloA from 'hello-vue-components.hello-a'

And either globally register it for use in all components:

Vue.component(HelloA, 'hello-vue-components.hello-a')

or locally register it for use in an individual component:

export default {
components: { HelloA }
}

Usage

<!-- No props or content are necessary. -->
<hello-a></hello-a>

Readme

Keywords

none

Package Sidebar

Install

npm i hello-vue-components.hello-a

Weekly Downloads

4

Version

2.0.0-alpha.3

License

MIT

Unpacked Size

135 kB

Total Files

17

Last publish

Collaborators

  • chrisvfritz