@ercos/tailwind
v0.0.4
Published
Project must use Tailwind v3.0.0+ and ReactiveFormsModule.
Downloads
6
Readme
Ercos Angular Components
Project must use Tailwind v3.0.0+ and ReactiveFormsModule.
Import the module
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { ErcosTailwindModule } from '@ercos/tailwind';
@NgModule({
imports: [BrowserModule, ErcosTailwindModule],
bootstrap: [AppComponent],
})
export class AppModule {}
Update tailwind config
module.exports = {
content: [
'./src/**/*.{html,ts}',
'./node_modules/@ercos/tailwind/**/*.{html,ts,js}',
],
theme: {
extend: {},
},
plugins: [require('@tailwindcss/forms')],
};
Available components
tw-text-input