No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Named Router only executing the layout method not Children component's methods

    Help
    2
    2
    109
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      gowthamsanj last edited by

      Case
      {
      path: ‘/blog/best-practices/:param1/:param2/:param3’,
      name: ‘blog’,
      component: () => import(‘layouts/AppLayout.vue’),
      children: [
      { path: ‘’, component: () => import(‘pages/app/papers.vue’) }
      ]
      }

      After successful Authentication on the login page, I am navigating the user to papers.vue page by calling the named Router.push in login.vue

      this.$router.push({ name: ‘blog’, params: { param1: ‘val1’, param2: ‘val2’, param3: ‘val3’ } })

      issue
      Child layout ( paper.vue ) is not loading in the AppLayout.vue

      1 Reply Last reply Reply Quote 0
      • patryckx
        patryckx last edited by

        Is your console having any errors?

        1 Reply Last reply Reply Quote 0
        • First post
          Last post