ct-material-dashboard-pro-angular icon indicating copy to clipboard operation
ct-material-dashboard-pro-angular copied to clipboard

Quickstart version of Pro?

Open somada141 opened this issue 6 years ago • 7 comments

Hi there,

I just bought the Pro version (order ID CT141194) and I've been having trouble cutting it down to a basic skeleton (navbar, sidebar with 1-2 menu items, and footer). I made a copy of md-pro-angular-BS4 so I can start chopping things away till I reach a lean enough codebase to work off but the project implodes when I serve it.

Specifically, doing an npm install followed by ng serve in the md-pro-angular-BS4 directory of the downloaded template works fine but copying the latter into its own project directory and following the same process leads to errors like:

Could not find Angular Material core theme. Most Material components may not work as expected.
Could not find HammerJS. Certain Angular Material components may not work correctly.

resulting in an entirely style-less view.

  1. Is the pro dashboard somehow structured to work nested under the md-pro-angular-BS3 and md-pro-angular-BS4 directories?
  2. Is there a given way to structure a new project based on these files that I'm missing?
  3. Under http://md-pro-angular.creative-tim.com/documentation/integration you mention that integrating the MD-Pro features into an existing project requires simply copying the style. Could you give more explicit instructions as to how to integrate this into a newly created Angular CLI project?
  4. Would you happen to have a simplified version following the structure of Pro I can start off with?
  5. In #162 you suggested that one should start off the free version and then integrate additional features off the Pro version. Are there any particular steps one would have to follow to do so (eg when it comes to integrating the jquery-driven components)?

thanks!

somada141 avatar May 07 '18 12:05 somada141

+1 Downloaded the zip of the pro version, followed the readme, same result as above.

pjr0001 avatar May 15 '18 23:05 pjr0001

@somada141 Can you tell me what errors do you got in the console?

chelaruc avatar May 16 '18 08:05 chelaruc

@chelaruc Its the errors I pasted above. My only solution was to start off the free version and start copying over styles and other bits and pieces. I'm still stumped as to why it didn't work.

somada141 avatar May 17 '18 01:05 somada141

@somada141 Can you give me your package.json?

chelaruc avatar May 22 '18 09:05 chelaruc

@chelaruc It was the same package.json that comes with md-pro-angular-BS4.

somada141 avatar May 23 '18 02:05 somada141

+1 ..facing same issue...solution => Copy css from demo page and paste in project css... but it should have been there by default.

sasija avatar Jun 07 '18 16:06 sasija

Ah cool thanks @sasija

somada141 avatar Jun 08 '18 00:06 somada141