@chai.apichai/hello-world

The Vue component for testing

Usage no npm install needed!

<script type="module">
  import chaiApichaiHelloWorld from 'https://cdn.skypack.dev/@chai.apichai/hello-world';
</script>

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>