title: Vue.createApp is not working but Is working with new Vue() method
body: <p>I'm getting this error <code>tesyya.js:16 Uncaught TypeError: Vue.createApp is not a function</code>
  mycode follows like this:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>const app = Vue.createApp({
    data() {
      return {
        count: 4
      }
    }
  })
  
  const vm = app.mount('#app')
  
  console.log(vm.count)</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
    &lt;meta charset="UTF-8" /&gt;
    &lt;meta name="viewport" content="width=device-width, initial-scale=1.0" /&gt;
    &lt;title&gt;My GK&lt;/title&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
    &lt;div class="app"&gt;
      &lt;h1&gt;this might be challenging for you&lt;/h1&gt;
      &lt;ul id="addhere"&gt;
        &lt;li v-for="goal in goals"&gt;{{goal}}&lt;/li&gt;
      &lt;/ul&gt;
      &lt;input type="text" name="text" id="addthis" v-model="enteredval" /&gt;
      &lt;input type="button" value="ADD" id="add" v-on:click="add()" /&gt;
    &lt;/div&gt;
    &lt;script src="https://unpkg.com/vue"&gt;&lt;/script&gt;
    &lt;script src="tesyya.js"&gt;&lt;/script&gt;
  &lt;/body&gt;
  
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>please let me my mistake I'm a beginner</p>