Hi,
As we have created the new component in our project like /apps/{project}/components/ and inside this component we have added the client libs also having the CSS file.
So is it good to have the CSS file in component itself or we should always add CSS file in global CSS only not in component.
I just want to know what is the best practice to add CSS file.
Thanks,
Pankaj
Solved! Go to Solution.
Views
Replies
Total Likes
If it's only the component that is using the CSS - place it in the clientlibs in the component. If many components use the CSS, place it in a global location.
Views
Replies
Total Likes
If it's only the component that is using the CSS - place it in the clientlibs in the component. If many components use the CSS, place it in a global location.
Views
Replies
Total Likes
Thanks :)
Views
Replies
Total Likes