DEV Community

Discussion on: Creating Custom Directives in Vue

Collapse
drewtownchi profile image
Drew Town

Thanks for the article Jennifer. I've never found myself reaching for Vue's directives and I'm not really sure why.

Do you use them often or have a particular case where you find them extra useful? I'm also curious what cases you find them a better fit than CSS or class/style bindings?

Collapse
ratracegrad profile image
Jennifer Bland Author

We use them to create set layouts. We are creating apps used in our factories worldwide and we use them for easily building designs based on the machines that are used in each factory.