wc-header
v0.0.2
Published
WebComponente using svelte :)
Downloads
1
Readme
WebComponent header simple with svelte and use angular app
- Install
npm i wc-header
in angular.json add into scripts
"scripts": [
...
"node_modules/wc-header/public/build/bundle.js"
...
]
- In app.module
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
...
@NgModule({
...
schemas: [ CUSTOM_ELEMENTS_SCHEMA ]
})
- Use into html.
<svelte-beauty-header
name="Title application"
subname="Subtitle application"
description="Description ... "
button="Label Button"
active="true">
</svelte-beauty-header>