Webpack: Warning when I use directive & template lang="pug"(also jade)

Created on 16 Feb 2017  Â·  1Comment  Â·  Source: vuejs-templates/webpack

  # JS - a directive
  directives: {
    something: function (el) {
       ...
    }
  }

  # html
  # Warning, but work
  h2(v-something) Hello
  # Well
  <h2 v-something >Hello</h2>

Most helpful comment

Solved here

v-directive='true'

>All comments

Solved here

v-directive='true'

Was this page helpful?
0 / 5 - 0 ratings

Related issues

silvestreh picture silvestreh  Â·  20Comments

ttquoccuong picture ttquoccuong  Â·  22Comments

hexyxj picture hexyxj  Â·  192Comments

OEvgeny picture OEvgeny  Â·  33Comments

IvRRimum picture IvRRimum  Â·  35Comments