Answer the question
In order to leave comments, you need to log in
How to use custom attribute in Pug? Is Pug incompatible with Vue?
You need to use something like <button v-ripple.mouseover>Button</button>
I do button(v-ripple.mouseover) Button
Knocks out an error
TypeError: Cannot read property 'mouseover' of undefined
Answer the question
In order to leave comments, you need to log in
if vue-loader is used, then you can specify the correct doctype in the webpack config:
{
test: /\.vue$/,
loader: 'vue-loader',
options: {
loaders: {},
template: {
doctype: 'html'
}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question