0.0.1-beta.6 • Published 12 months ago

@wlocalhost/ngx-tailwind-email-builder v0.0.1-beta.6

Weekly downloads
-
License
-
Repository
-
Last release
12 months ago

Tailwind Email Builder Library

This library provides a set of components and services to build email templates using Tailwind CSS. It is built on top of NGB Email Builder and Tailwind CSS.

The installation instructions provided here are intended for demo purposes only. For more information on how to install and use the Tailwind Email Builder, please refer to the documentation.

Before using the Tailwind Email Builder, you need to:

  • Have Tailwind CSS installed in your project.
  • Add @angular/localize and @angular/cdk to your project.

Installation

First, install the Tailwind Email Builder with its dependencies:

npm install @wlocalhost/ngx-tailwind-email-builder @wlocalhost/ngx-email-builder recursive-diff

Then, add the Tailwind Email Builder module to your application:

import { TailwindEmailBuilderModule } from "@wlocalhost/ngx-tailwind-email-builder";

@NgModule({
  imports: [
    TailwindEmailBuilderModule.forRoot({
      licenseKey: "your-license-key", // use your own license key for paid versions
      convertorPath: "https://your-custom-path.com", // use your own converter
      historyRecordLimit: 10 // save 10 history records
    })
  ]
})
export class AppModule {
}

For a full list of available options, check out the configuration options page.

Use the Builder in Your Application

<tail-email-builder [(value)]="email"></tail-email-builder>

Where email is an IPEmail class:

import { IPEmail } from "@wlocalhost/ngx-email-builder";

@Component({ ... })
export class AppComponent {
  email = new IPEmail();
}

For more information on how to use the Tailwind Email Builder, please refer to the documentation.

0.0.1-beta.6

12 months ago

0.0.1-beta.5

1 year ago

0.0.1-beta.4

2 years ago

0.0.1-beta.3

2 years ago

0.0.1-beta.2

2 years ago

0.0.1-beta.1

2 years ago