---
pageClass: rule-details
sidebarDepth: 0
title: vue/no-useless-concat
description: Disallow unnecessary concatenation of literals or template literals in `<template>`
since: v7.0.0
---

# vue/no-useless-concat

> Disallow unnecessary concatenation of literals or template literals in `<template>`

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

## :books: Further Reading

- [no-useless-concat]

[no-useless-concat]: https://eslint.org/docs/rules/no-useless-concat

## :rocket: Version

This rule was introduced in eslint-plugin-vue v7.0.0

## :mag: Implementation

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

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