Answer the question
In order to leave comments, you need to log in
Why is the Vue template not rendering?
Greetings!
Given: Laravel8, Vue 3 and Blade templates.
I use a little-familiar admin panel (which has a lot of things on Vue), in which I try to display the contents of the View in which my Vue component is using its regular means.
mycomponent.blade.php
<mycomponent></mycomponent>
mycomponent.vue
<template>
<div>
It`s my component
</div>
</template>
<script>
export default {
mounted() {
console.log("My component mounted...");
}
};
</script>
Vue.component('mycomponent', require('./components/mycomponent.vue').default);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question