ignite / web

Monorepo for packages used by Ignite CLI, including a template, component library and a set of Vuex modules
https://ignite.com/cli
Apache License 2.0
71 stars 49 forks source link

feat: make links customisable (navbar/dropdown) #223

Open fadeev opened 2 years ago

fadeev commented 2 years ago

Right now items in the dropdown are not links. We need to make the dropdown customizable by our users.

Screenshot 2022-02-19 at 18 37 24

Before implementing, propose the solution below. Probably, it's going to be a prop that a dev can set and we have it set by default to Starport websites/twitter in the template.

mihailmarcu commented 2 years ago

Hey @fadee, @marinhoarthur, As you already know, our component is not completely abstract and scalable to be customizable and reusable. I found a solution, and as already discussed, I will initiate a discussion about this solution.

App vue SpNavbar vue SpAcc vue SpAccDropdown vue

This is already a working solution as I have implemented and tested it locally.