| name | vue |
| description | Vue coding style and best practices. |
| pattern | \.vue(\s|$) |
- Always use
toast.error(error.message)in catch blocks, neverconsole.error - Minimize DOM nesting by avoiding unnecessary wrappers ()
- Use modern v3.5+ syntax (e.g. defineModel, defineEmits named tuple, useTemplateRef)
- Use shorthands prop in templates (e.g.
propinstead of:prop={true})- PascalCase for component, camelCase for prop e.g.
@update:modeValueover@update:model-value- Structure: First , then