title: How could I use const in vue template?
body: <p>I tried to defined a <code>const</code> in a <code>*.vue</code> file:</p>
  <pre><code>&lt;script&gt;
      export const CREATE_ACTION = 1,
      export const UPDATE_ACTION = 2
  &lt;script&gt;
  </code></pre>
  <p>And use them in the template:</p>
  <pre><code>&lt;template&gt;
      ...
      &lt;select :disabled=&quot;mode === UPDATE_ACTION&quot;&gt;
      ....
  &lt;/template&gt;
  </code></pre>
  <p>But it does not work. How can I use <code>const</code> in a Vue template?</p>