wuxt icon indicating copy to clipboard operation
wuxt copied to clipboard

ESLint complaining about template tags <%= %>

Open Jamiewarb opened this issue 6 years ago • 0 comments

Hi there,

ESLint is saying it cannot compile the template tags like this:

// https://github.com/northosts/wuxt/blob/master/nuxt/modules/wp-api/plugin.js
const wp = new WPApi(<%= serialize(options) %>);

I can't seem to find a solution to this online. How did you set this to work?

Jamiewarb avatar Nov 26 '19 14:11 Jamiewarb