Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tailwind css library and plugin support. #90

Closed
monjurmorshed793 opened this issue Sep 15, 2023 · 3 comments
Closed

Add tailwind css library and plugin support. #90

monjurmorshed793 opened this issue Sep 15, 2023 · 3 comments
Labels
wontfix This will not be worked on

Comments

@monjurmorshed793
Copy link

Currently the documentation is not so helpful, that's why I have added the issue here. Tailwind css requires nodejs, also a config file is needed, so is it possible to add it using web-bundler? Also request for making the documentation more helpful by adding different sections for mostly used libraries (like react, angular or others).

@melloware
Copy link
Contributor

@monjurmorshed793 i think you might want Quarkus Quinoa which is for NodeJS and already has instructions for using with Angular, React etc.

https://github.com/quarkiverse/quarkus-quinoa

@ia3andy
Copy link
Contributor

ia3andy commented Sep 18, 2023

As @melloware said, there is a decision point to choose between Quinoa and the Web Bundler:

  • Quinoa is better when you need NodeJS very specific build stuff, when your project is not standard, or use a lot of dependencies
  • Web Bundler is good when the project is not too large and it is cool because it works with close to zero config

Note that it is possible (and fairly easy) to switch from one to the other, the resulting app is the same.

In your case, I am having a look at the Tailwind css to see if it can fit the Web Bundler and I'll let you know.

Regarding React, it works for light web-app: https://github.com/ia3andy/quarkus-bundler-react. I'll try to create an example app with Angular.

@ia3andy
Copy link
Contributor

ia3andy commented Sep 18, 2023

Regarding Tailwind CSS, since it requires a esbuild plugin to work, it is currently not possible to use it with the esbuild CLI (used by the web-bundler), we are looking into allowing plugins (evanw/esbuild#3327).

So Quinoa is your best option for now :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants