# Use Turbo Frame Tag in ViewComponent

Photo by [James Harrison](https://unsplash.com/@jstrippa?utm_source=medium&utm_medium=referral) on [Unsplash](https://unsplash.com?utm_source=medium&utm_medium=referral)

You can see this error:

```
undefined method `turbo_frame_tag'
```

when trying to use `turbo_frame_tag` inside of your `ViewComponent`.

To solve this, add a helper to your ApplicationComponent:

%[https://gist.github.com/da9b92b74320ce4b0e0a95c9eb6c1bcb.js]

And inherit from `ApplicationComponent`.
