Disable props injection in template #8713
Unanswered
samturrell
asked this question in
Help/Questions
Replies: 1 comment
-
Looks like there's a suggestion for a linter rule to cover this: vuejs/eslint-plugin-vue#2172 However would be great to get it as an SFC compiler option |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
Is it possible to disable props being automagically injected into the template, and instead enforce props to be accessed via the
props
object defined in<script setup>
?For example:
This is also a point of consistency in a project where developers will use each method interchangeably even within the same component.
Beta Was this translation helpful? Give feedback.
All reactions