celljuke-vue.hello-world
v1.0.1
Published
A component that says "HelloA" with orange text.
Downloads
7
Readme
celljuke-vue.hello-world
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/celljuke-vue.hello-world"></script>
<script>
new Vue({ el: '#app' })
</script>In a module system
Install the component with NPM:
npm install celljuke-vue.hello-worldThen import the component:
import HelloWorld from 'celljuke-vue.hello-world'And either globally register it for use in all components:
Vue.component(HelloWorld, 'celljuke-vue.hello-world')or locally register it for use in an individual component:
export default {
components: { HelloWorld }
}Usage
<!-- No props or content are necessary. -->
<hello-wolrd></hello-wolrd>