npm.io
0.2.4 • Published 4 years ago

simple-component-hurrinade

Licence
—
Version
0.2.4
Deps
3
Size
419 kB
Vulns
0
Weekly
0

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" />
Customize configuration

See Configuration Reference.