Become a member
to unlock all features

    Create Type-Safe Vue Directives in TypeScript


    Directives allow us to apply DOM manipulations as side effects. We’ll show you how you can create your own Vue directive to change a component’s colors and type-safe it with TypeScript.

    We’ll additionally show how you can pass objects to your directives and make them more flexible!