@chai.apichai/hello-world
v1.0.12
Published
The Vue component for testing
Downloads
15
Readme
@chai.apichai/hello-world
This library created by chai for learning how to installation npm on the public.
Installation
npm i @chai.apichai/hello-world
Register the component
Global
import HelloWorld from '@chai.apichai/hello-world'
import "@chai.apichai/hello-world/dist/hello-world.css"
Vue.component('HelloWorld', HelloWorld)
Global
<template>
<div">
<HelloWorld msg="My Custom Message"/>
</div>
</template>
<script>
import HelloWorld from '@chai.apichai/hello-world'
import "@chai.apichai/hello-world/dist/hello-world.css"
export default {
components: {
HelloWorld
}
}
</script>