1.0.0 • Published 7 years ago
@binalogue/skeleton-vue-components.hello-b v1.0.0
skeleton-vue-components.hello-b
A component that says "HelloB" with green 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/@binalogue/skeleton-vue-components.hello-b"></script>
<script>
new Vue({ el: '#app' })
</script>In a module system
Install the component with NPM:
npm install @binalogue/skeleton-vue-components.hello-bThen import the component:
import HelloB from '@binalogue/skeleton-vue-components.hello-b'And either globally register it for use in all components:
Vue.component(HelloB, '@binalogue/skeleton-vue-components.hello-b')or locally register it for use in an individual component:
export default {
components: { HelloB }
}Usage
<!-- No props or content are necessary. -->
<hello-b></hello-b>1.0.0
7 years ago
0.0.1-alpha.0
7 years ago