0.0.1 • Published 11 months ago

ngxtw v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Build Status

Quick start

Prerequisites

Make sure to have Tailwind CSS installed in your project.

Install the package from npm

npm i tailwindcss-angular

Update the tailwind.config.js file

module.exports = {
  ...
  content: [
    ...
    // add the line bellow
    "./node_modules/tailwindcss-angular/**/*.{html,ts}"
  ]

Import the component(s) you want

If you are using standalone components, import the component(s) in your *.component.ts file

@Component({
  standalone: true,
  imports: [
    ...
    // Some components
    ButtonComponent,
    DropdownComponent,
    BadgeComponent,
  ],
  ...
})
export class DemoComponent {
  ...
}

If you are using NgModule based components, import our components in your *.module.ts file

@NgModule({
  declarations: [
    ...
  ],
  imports: [
    ...
    // Some components
    ModalDialogModule,
    ComboboxModule,
    TypographyModule
  ],
  bootstrap: [DemoAppComponent]
})
export class DemoAppModule { }

What's next ? Visit our website for more details on components.


One more thing

If you have imported some forms components, you need to install Tailwind CSS forms plugin for a seamless integration.

Install the forms plugin from npm

npm install -D @tailwindcss/forms

Update the tailwind.config.js file

module.exports = {
  ...
  plugins: [
    // add the line bellow
    require('@tailwindcss/forms')
  ]
}

Your support is really appreciated ⭐️

If you found this project helpful, please support it by giving a star.

0.0.1

11 months ago

0.2.4

12 months ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.1

1 year ago

0.1.9

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.0.9

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.0

1 year ago