0👍
Your component must be wrapped in an element with the id “app”.
<div id="app">
<all-posts />
</div>
make sure that somewhere in your posts.blade or layouts.app you have this element surrounding the code that includes your component
- [Vuejs]-Is There Any Way to Get Current Date Time With Timezone in Vue JS?
- [Vuejs]-Vuex getter produces white page
0👍
Try to import the components and let your Vue instance know that there are custom components. In CreatePost.vue:
import { elUpload, elDialog } from '...'; // path to your components or lib
...
export default {
...
components: {
elUpload,
elDialog,
}
...
}
- [Vuejs]-Mocking Vue method external async call to test it
- [Vuejs]-I'm getting this error with vue router vue 2.0
Source:stackexchange.com