0.0.1 • Published 9 months ago

ngxtw v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
9 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

9 months ago

0.2.4

10 months ago

0.2.3

10 months ago

0.2.2

10 months ago

0.2.1

10 months ago

0.1.9

10 months ago

0.1.8

10 months ago

0.1.7

10 months ago

0.1.6

10 months ago

0.1.5

10 months ago

0.1.4

10 months ago

0.1.3

10 months ago

0.1.2

10 months ago

0.0.0-placeholder

10 months ago

0.0.9

10 months ago

0.0.6

10 months ago

0.0.5

10 months ago

0.0.4

11 months ago

0.0.3

11 months ago

0.0.2

11 months ago

0.0.0

11 months ago