---
pageClass: rule-details
sidebarDepth: 0
title: vue/camelcase
description: Enforce camelcase naming convention in `<template>`
since: v5.2.0
---

# vue/camelcase

> Enforce camelcase naming convention in `<template>`

This rule is the same rule as core [camelcase] rule but it applies to the expressions in `<template>`.

## :books: Further Reading

- [camelcase]

[camelcase]: https://eslint.org/docs/rules/camelcase

## :rocket: Version

This rule was introduced in eslint-plugin-vue v5.2.0

## :mag: Implementation

- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/camelcase.js)
- [Test source](https://github.com/vuejs/eslint-plugin-vue/blob/master/tests/lib/rules/camelcase.js)

<sup>Taken with ❤️ [from ESLint core](https://eslint.org/docs/latest/rules/camelcase)</sup>
