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

Styles missing when following installation doc #20

Open
dave-vdg opened this issue Jul 14, 2024 · 1 comment
Open

Styles missing when following installation doc #20

dave-vdg opened this issue Jul 14, 2024 · 1 comment

Comments

@dave-vdg
Copy link

dave-vdg commented Jul 14, 2024

Hi, I came across this library and decided to give it a shot as it looks great!

Describe the bug
I followed the installation process from https://www.david-ui-angular.com/docs/installation.

My project uses Angular 17.3.0, when using standalone components there is nothing mentioned how to import it into app.config.ts.
I resolved this issue by checking this closed issue.

Other than that there were no compiling errors. So far so good.

When launching the app I am able to see the button, also the ripple effect is visible when clicking on it, but for some reason the style is missing.

I added the following paths to my styles.scss:

@import "../node_modules/david-ui-angular/styles/_styles.scss";
@import "@angular/cdk/overlay-prebuilt.css";

Also where do I need to add the tailwind.config.js file? Do I need to install tailwindUI seperately?

Expected behavior
I am expecting to see the same styled button as shown in the docs.

Screenshots
Screenshot 2024-07-14 at 13 33 36

Desktop (please complete the following information):

  • OS: MacOs
  • Browser Chrome
@dave-vdg
Copy link
Author

Okay after installing tailwindcss following this installation guide the css is working as expected.

Maybe it is a good idea to add this step to the docs :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant