vue-literal-compiler icon indicating copy to clipboard operation
vue-literal-compiler copied to clipboard

Remove unnecessary quotes when using when using fat arrow attributes binding.

Open michaelolof opened this issue 6 years ago • 0 comments

So i think this is alot cleaner:

Current Way:

/** @VueLiteralCompiler Template */
const template = app => `
   <button @click="${ app.doSomething() }"></button>
`;

Proposed Way:

/** @VueLiteralCompiler Template */
const template = app => `
   <button @click=${ app.doSomething() }></button>
`;

michaelolof avatar Jan 11 '19 07:01 michaelolof