Failed to mount component: template or render function not defined.
See original GitHub issueI am using laravel elixer (webpack) in compiling this but i got this error. Did i missed something??? I am using v2
Vue.component('v-select', require('vue-select'))
Issue Analytics
- State:
- Created 7 years ago
- Comments:14 (2 by maintainers)
Top Results From Across the Web
Vue template or render function not defined yet I am using ...
This error: [Vue warn]: Failed to mount component: template or render function not defined. You're getting because of a certain problem that's ...
Read more >[Vue warn]: Failed to mount component: template or render ...
I have no issues, when I run the project, but I just setup the vue-test-utils using Vue Cli 4 , and tried my...
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 >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 >[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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Getting the same issue using the latest version of Vue 2 and Laravel mix https://laravel.com/docs/5.4/mix#running-mix
Using default configuration.
EDIT - Should have just done what the docs said. Sorted now.
@jessiesiat instead of doing
require(...)
tryPlease, try this var VSelect = require(‘vue-select/dist/vue-select’).VueSelect;