title: Vue template or render function not defined
body: <p>I have problem with Vue rendering on my website. I have downloaded some forum app from <a href="https://github.com/danijelbjegovic/laravel-vue-real-time-SAP-forum" rel="nofollow noreferrer">github</a>, I had some difficoulties with installing it, because npm is not really updated and app is from 2 years ago. I managed to fix everything about npm with package.json like:</p>
  
  <pre><code>"devDependencies": {
          "axios": "^0.18.1",
          "bootstrap": "^4.4.1",
          "cross-env": "^5.2.1",
          "jquery": "^3.5.0",
          "laravel-mix": "^5.0.4",
          "lodash": "^4.17.15",
          "popper.js": "^1.16.1",
          "resolve-url-loader": "^3.1.1",
          "sass-loader": "^8.0.2",
          "vue": "2.5.21",
          "vue-template-compiler": "2.5.21"
      },
      "dependencies": {
          "laravel-echo": "^1.7.0",
          "node-sass": "^4.13.1",
          "pusher-js": "^4.4.0",
          "vue-loader": "15.5.1",
          "vue-router": "^3.1.6",
          "vue-simplemde": "^1.0.4",
          "vuetify": "^1.5.24"
      }
  </code></pre>
  
  <p>But now the problem is something with rendering vue:</p>
  
  <blockquote>
    <p>app.js:71622 [Vue warn]: Failed to mount component: template or render
    function not defined.</p>
  </blockquote>
  
  <p>This is how app.js looks like:</p>
  
  <pre><code>require('./bootstrap');
  
  window.Vue = require('vue');
  import Vue from 'vue'
  import Vuetify from 'vuetify'
  import VueSimplemde from 'vue-simplemde'
  import 'simplemde/dist/simplemde.min.css'
  
  
  Vue.use(Vuetify)
  Vue.use(VueSimplemde)
  import md from 'marked'
  window.md = md;
  
  import User from './Helpers/User'
  window.User = User
  
  import Exception from './Helpers/Exception'
  window.Exception = Exception
  
  window.EventBus = new Vue();
  
  /**
   * Next, we will create a fresh Vue application instance and attach it to
   * the page. Then, you may begin adding components to this application
   * or customize the JavaScript scaffolding to fit your unique needs.
   */
  
  Vue.component('AppHome', require('./components/AppHome.vue'));
  import router from './Router/router.js'
  
  const app = new Vue({
      el: '#app',
      router
  });
  </code></pre>