4 months ago

the data of components isn't showing in browser

Posted 4 months ago by incridible

I have created the components in Laravel, but these components are not showing in browser, this is the link of complete source code:


    <div class="container">
     <div class="row justify-content-center">
      <div class="col-md-8">
         <div class="card card-default">
             <div class="card-header">Dashboard Component</div>

             <div class="card-body">
                 I'm an example component.

      export default {
        mounted() {
         console.log('Component mounted.')


  let routes = [
     { path: '/dashboard', component: require('./components/Dashboard.vue') },
     { path: '/users', component: require('./components/Users.vue') },
     { path: '/profile', component: require('./components/Profile.vue') }

screenshot of package.json:

how to solve this issue?

Please sign in or create an account to participate in this conversation.