Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support local directives in functional components #6974

Closed
miljan-aleksic opened this issue Oct 31, 2017 · 1 comment
Closed

Support local directives in functional components #6974

miljan-aleksic opened this issue Oct 31, 2017 · 1 comment

Comments

@miljan-aleksic
Copy link

What problem does this feature solve?

There are directives meant to assist a component behavior and not to be declared globally, which works fine for components and the directives option, but that doesn't work for functional components.

I have tried declaring the directives in the data, passing by the def, name and raw name and still, it doesn't work. Knowing that globally declared directives do work on functional components I would like to request a way to use them locally as well.

@posva posva changed the title Functional components local directives Support local directives in functional components Oct 31, 2017
@yyx990803
Copy link
Member

Gonna track this under #6872

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants