How to use Directive inside Standalone Component in Angular

Discussão em 'Angular' iniciado por Keval Patel, Novembro 9, 2024.

  1. Keval Patel

    Keval Patel Guest

    I have a directive, which is not standalone. I am trying to use this directive inside Standalone component. while doing it, I am getting below error.

    [​IMG]

    I have included directive inside component's import array, [​IMG]

    Question is: Can we use non-standalone directives inside standalone components?

    Continue reading...

Compartilhe esta Página