creativetimofficial / ct-paper-dashboard-pro-angular

8 stars 10 forks source link

Help with SASS files and using Visual Studio 2015 #16

Closed Sauravsam85 closed 6 years ago

Sauravsam85 commented 6 years ago

Hi,

I have bought and downloaded pd-pro-angular and it looks great. But I am trying to build my own using your dashboard template in Visual Studio 2015. I have been able to get the basic routing and structure created, but I am having trouble with SASS files. I am fairly new to Angular and still figuring it out. I would really appreciate it if you could let me know how the SASS files are included in the angular CLI version and how are they built. Also, if you could give me some insight into implementing the same in Visual Studio 2015 I would really appreciate it.

I get the following error:

AdminLayoutComponent_Host.html:1 ERROR TypeError: $main_panel.perfectScrollbar is not a function at AdminLayoutComponent.ngOnInit (admin-layout.component.ts:36) at checkAndUpdateDirectiveInline (provider.ts:272) at checkAndUpdateNodeInline (view.ts:518) at checkAndUpdateNode (view.ts:456) at debugCheckAndUpdateNode (services.ts:377) at debugCheckDirectivesFn (services.ts:464) at Object.eval [as updateDirectives] (AdminLayoutComponent_Host.html:1) at Object.debugUpdateDirectives [as updateDirectives] (services.ts:443) at checkAndUpdateView (view.ts:369) at callViewAction (view.ts:782) at execEmbeddedViewsAction (view.ts:741) at checkAndUpdateView (view.ts:423) at callViewAction (view.ts:782) at execComponentViewsAction (view.ts:715) at checkAndUpdateView (view.ts:426)

And this is how my site looks: image

I am assuming fixing the scrollbar issue will fix the page loading as well.

Thanks Saurav

Sauravsam85 commented 6 years ago

@alexandru-paduraru @timcreative Please look into this. Thanks.

alexandru-paduraru commented 6 years ago

@Sauravsam85 thank you for using our product and sorry for the late response. Just added my colleague Ciprian here and he will further assist.

Best, Alex

chelaruc commented 6 years ago

Hi, @Sauravsam85! Can you send me an archive for testing to ciprian@creative-tim.com? I'll try to fix it for you. Best, Ciprian

Sauravsam85 commented 6 years ago

Ciprian,

I am building this project in Visual Studio 2015, Do you work with Visual Studio 2015? If you do then I will share it with you today but I will have to make a few tweaks before sharing it with you so will be able to do it later in the day.

Sauravsam85 commented 6 years ago

I was able to resolve the issue myself. Thanks for your time.

chelaruc commented 6 years ago

@Sauravsam85 I'm glad you could resolve it. I'll close the issue now.