yannbf / ionic3-components

A project full of ionic 3 components and samples - to make life easier :)
MIT License
1.68k stars 704 forks source link

Side menu Integration #66

Closed vishal2develop closed 6 years ago

vishal2develop commented 6 years ago

I am trying to use the Avatar side menu for my app, but I cant integrate it into my app. What all code and files are needed to be copied? Could anyone help me out with it please as I need it for my project asap? Thank you.

P.S: I'm a newbie to ionic

yannbf commented 6 years ago

Hey @vishal2develop, thanks for your interest in this repository! You have to get the HTML code from app.html regarding your desired sidemenu, then its css from app.scss. This shows to me that I have to add a README explaining how to do so for new users. Thanks for your feedback :)

Here's the gist with what you have to use: https://gist.github.com/yannbf/0f2fea2421dee8e388b4d0c5e78ba480

Just change the logic and assets.

vishal2develop commented 6 years ago

Thank you so much for your valuable and prompt reply. Will copying the app.html and app.scss replace the default style of the menu. I don't want to click on a button to change the UI of the side menu. I want the avatar mode to be my default. How am I supposed to do that?

yannbf commented 6 years ago

yes, if you integrate that code with yours, the avatar sidemenu will be displayed by default.

yannbf commented 6 years ago

I'm gonna close this issue as it seems to be resolved. I provided you all the ingredients, so you just need to bake the cake.

Thanks!