[Vue] Provide a rule for consistent usage of props.
prefix in template block
#27
Labels
enhancement
New feature or request
props.
prefix in template block
#27
Ref: https://github.com/globalbrain/deus/pull/170#discussion_r1322334736
Currently, it depends on products and developers whether using
props.
prefix in Vue template block and make the codebase inconsistent.I'm not sure there is such a rule officially supported, but it's nice if it's possible and can be fixed automatically, so that we don't have to make the code consistent manually.
Note that I created this issue but do not refer to whether we should add it or remove it.
So far, I used to always add the prefix so that I can reduce amount of manual conditional coding (note
props.*
prefix is needed in script block while it can be omitted in template block).The text was updated successfully, but these errors were encountered: