-
Hi styles.scss @import "primeng/resources/themes/lara-light-blue/theme.css"; |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
-
Hi styles.scss @import "primeng/resources/themes/lara-light-blue/theme.css"; |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
You need to create CSS layers for sure to separate the CSS that might interfere with PrimeNg: https://primeng.org/guides/csslayer#bootstrap
Here is an example how I did: https://stackblitz.com/edit/smmbf9-dhq1oc?file=src%2Fstyles.scss I put the whole bootstrap on a separate layer.
Because the main bootstrap file includes everything
you don't need to separately import the
bootstrap-reboot.css
.Or if you go to the direction what the docs say, then import all component separately that you're using: