title: Using "script setup" in VueJS 2.x
body: <p><code>&lt;script setup&gt;</code> is a compile-time syntactic sugar for using <a href="https://v3.vuejs.org/api/composition-api.html#setup" rel="nofollow noreferrer">Composition API</a> inside Single File Components (SFCs) used in VueJS 3.x. I'm trying to get it to work in VueJS 2.x. Composition API is available as a separate module that can be installed in Vue 2.x projects. I installed the package and it compiles and runs, but my bindings do not show anything in the output. Even the simplest ones like:</p>
  <pre><code>&lt;script setup&gt;
  const msg = 'Hello!'
  &lt;/script&gt;
  
  &lt;template&gt;
    &lt;div&gt;{{ msg }}&lt;/div&gt;
  &lt;/template&gt;
  </code></pre>
  <p>do not show anything on the webpage. Am I missing something or does it not support Vue 2.x projects?</p>