question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Template or render function not defined.

See original GitHub issue

[Vue warn]: Failed to mount component: template or render function not defined.

found in

—> <KanbanBoard> <CanvasKanban> at app/assets/javascripts/components/app/campaigns/canvas/kanban/canvas-kanban.vue <App> at app/assets/javascripts/components/app/app.vue <Root> Template:

<template>
  <div v-if="loaded" class="kanban">
    <canvas-header></canvas-header>
    <kanban-board :stages="stages" :blocks="blocks"
      @update-flight-status="updateFlightStatus">
      <div v-for="block in blocks">
        <div>
          <strong>id:</strong> {{ block.id }}
        </div>
        <div>
          {{ block.title }}
        </div>
      </div>
    </kanban-board>
  </div>
  <full-loader v-else></full-loader>
</template>

Am i doing anything wrong?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
BrockReececommented, Sep 20, 2017

I have just published a new version to NPM which should fix this. Can you let me know?

0reactions
demonmindcommented, Sep 21, 2017

Just the structure, nevermind

Read more comments on GitHub >

github_iconTop Results From Across the Web

Vue template or render function not defined yet I am using ...
In my case, I was getting the error because I upgraded from Laravel Mix Version 2 to 5. In Laravel Mix Version 2,...
Read more >
[SOLVED] Component is Missing Template Or Render ...
The “Component is missing template or render function” warning occurs when you import a component and add it to the markup, but the...
Read more >
Laravel + Vue.js - template or render function not defined.
Hi, I am trying to use vue-router links to load my home and about.vue but I get this error: app.js:64725 [Vue warn]: Failed...
Read more >
Fix vue failed to mount component: template or render function ...
If you are getting failed to mount component: template or render function not defined error. This article will help you to fix the...
Read more >
Failed to mount component: template or render function not ...
A render function takes an argument which itself is a function. This function creates you a vnode. The render function expects you to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found