How to install a theme from github inside an angular app ?

27 views
Skip to first unread message

Manish Jain

unread,
Dec 1, 2018, 10:15:08 PM12/1/18
to Angular and AngularJS discussion
Hello,

     I am developing an angular app for which I want to use a particular theme - https://github.com/manishbjain/Adminator-admin-dashboard. I have installed the theme as well as the app seperately on my machine. How do I merge both ? The theme itself has a lot of dependencies. One way to do that is to copy all the dependencies from the node_modules folder of the theme and paste in the node_modules folder of the app and update the package.json of the app manually.However this is tedious and error prone. Is there any other way out ?

Sander Elias

unread,
Dec 3, 2018, 12:12:33 AM12/3/18
to Angular and AngularJS discussion
Hi Manish,

As your, theme is not really a theme, but more of a sample app, you need to merge it in manually with your Angular app. Looking at the list of dependencies, I suspect there will be some challenges ahead on integrating this one. 

Regards
Sander

Manish Jain

unread,
Dec 5, 2018, 6:39:00 PM12/5/18
to Angular and AngularJS discussion
Thanks Sander. Yeah , You are right and so I have skipped the theme and planning to use CoreUI for angular but before that I am using primeng datatable. I have installed and customised the datatable component according to my requirement but I am unable to style it . How do I customize the css for the primeng datatable. Can you suggest ?

Sander Elias

unread,
Dec 5, 2018, 10:47:09 PM12/5/18
to Angular and AngularJS discussion
Hi Manish,

PrimeNG has a theme-editor available, so that might help. Otherwise, ask on their support form. From what I see you can use your own css files to amend their formatting. Doesn't look too hard to me. 

Regards
Sander
Reply all
Reply to author
Forward
0 new messages