You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow these steps to use this template with latest installation of Angular 7+
Step 1) Create angular project from Cli
Step 2) add angular material (follow steps on Angular material docs
Step 3) Download sb-admin-material zip from this repo in extract in somewhere else.
Step 4) copy folders app, assets, styles and files index.html, main.ts from sb-admin-material to your project.
Step 5) styles were not working for me so ive renamed style.scss in style folder to _style.scss and inported it to main global style.scss that way no change needed in angular.json.
so just add :
@import 'styles/styles';
in main style.scss
this will break font so change font path in styles/_material.scss to:
Follow these steps to use this template with latest installation of Angular 7+
Step 1) Create angular project from Cli
Step 2) add angular material (follow steps on Angular material docs
Step 3) Download sb-admin-material zip from this repo in extract in somewhere else.
Step 4) copy folders app, assets, styles and files index.html, main.ts from sb-admin-material to your project.
Step 5) styles were not working for me so ive renamed style.scss in style folder to _style.scss and inported it to main global style.scss that way no change needed in angular.json.
so just add :
in main style.scss
this will break font so change font path in styles/_material.scss to:
Step 6) Add latest chart.js in package.json dependencies "chart.js": "2.8.0"
finally add following dependencies from npm :
Finally dont forget to run :
npm install
if anything goes wrong make sure to delete node_modules and run again npm install.
look for any error and try to correct it by following its suggested resolution.
The text was updated successfully, but these errors were encountered: