MintbeanHackathons / MintbeanPlatform

This is what powers https://mintbean.io
GNU Affero General Public License v3.0
24 stars 15 forks source link

Allow the navigation bar to align center at '/' #37

Closed leanjunio closed 4 years ago

leanjunio commented 4 years ago

I created a computed property in the App component called align and I made it check whether the path is / or not. If the path was /, apply the center class to div#app, if not, set the value of align to empty /.