@vouchpanel/angular
Quickly embed a vouchpanel into your Angular project.
How To Use
Install with yarn (or npm install
):
yarn add @vouchpanel/angular
Include it as a module.
import { VouchpanelModule } from '@vouchpanel/angular'
@NgModule({
declarations: [
AppComponent,
],
imports: [
VouchpanelModule,
BrowserModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Add the following to the corresponding angular template. Replace id
with your wall id from app.vouchpanel.com.
// *.component.html
<vouchpanel darkMode="off" id="4"></vouchpanel>