imported custom directive could be used in jsx / tsx
What problem does this feature solve?
now only global registed directives can be used in jsx: app.directive(focus',vFocus)
if use import vFocus from ... and it always throw error: Failed to resolve directive
What does the proposed API look like?
imported custom directive can also be used in jsx