The computed property "accessToken" is already defined as a prop.
PatrickHeneise opened this issue · comments
I'm using accessToken
as a computed property across my app for authentication. I'm not sure if there is a way to scope accessToken
to the Mapbox component?
I'm not the maintainer but are you adding that as a mixin? You could check to see if the name of the component is 'mapbox' before adding the computed.
That's an interesting take, I'll give that a try, thanks!
Hmm not totally sure why this would be an issue, accessToken
prop should only be defined internally inside this component and shouldn't have any affect on the rest of the application. If you can post how you are using this component that would be helpful, for now I am closing.
@phegmen i think they were using a global mixin to all that property to all components
I'll have a look, thanks!