0.2.4 • Published 2 years ago
simple-component-hurrinade v0.2.4
simple-component
Project setup
npm install --save simple-component-hurrinade
Import file to your project
In main.(js/ts) import component and use it.
import { createApp } from "vue"
import App from './App.vue'
import HelloWorldSimple from "simple-component-hurrinade"
const app = createApp(App)
app.use(HelloWorldSimple)
app.mount(#app)
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Lints and fixes files
npm run lint
Usage
Component can be used with tag "<hello-world-simple>"
inside any component.
It can have one property msg
that will be displayed as header text.
<hello-world-simple msg="I have done it" />