🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

hello-vue-components.hello-b

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hello-vue-components.hello-b

A component that says "HelloB" with green text.

2.0.0-alpha.3
latest
Version published
Maintainers
1
Created

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

In a module system

Install the component with NPM:

npm install hello-vue-components.hello-b

Then import the component:

import HelloB from 'hello-vue-components.hello-b'

And either globally register it for use in all components:

Vue.component(HelloB, 'hello-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>

FAQs

Package last updated on 12 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts