Dashboard sidebar not minimizing to the left
I have tried everything possible, however I am not able to minimize the sidebar. Any solutions please thank you ?
Could you please provide more info? Which theme, version, and demo you are using? Which framework do you use? HTML, React, Angular or Vue?
I am using metronic_v8.0.38 the html.
I did not understand the angular version so I took the html and imported it into my angular project. Everything works fine, except that the dashboard sidebar not minimizing to the left and header drop downs not working.
In order to make the Metronic HTML work within Angular as expected there a lot of workarounds and integration works are required. That's why we have released our official Angular version and we would suggest to you it. If you like to proceed with your own implementation using the HTML version then you will need to initialize the layout and core components are the HTML elements are populated. For more info please check this documentation page.
Alright I have imported the angular theme into my project as you recommended. I am in the root folder of demo1, I ran npm install and I get the following error
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! While resolving: firstname.lastname@example.org
npm ERR! Found: @email@example.com
npm ERR! node_modules/@angular/compiler
npm ERR! @angular/compiler@"13.2.5" from the root project
Try to do next stepts:
npm install -g @angular/cli
npm i --legacy-peer-deps
3) Open your browser with URL:
yarn instead, it will reduce packages issues during the development.