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

    Plugin Meta title changes to first loaded page

    Framework
    3
    3
    192
    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.
    • S
      stuffy last edited by stuffy

      On every page visit the app’s browser title reverts to the first loaded page title in a second.

      export default {
        meta: {
          title: "Signup",
          titleTemplate: (title) => title,
        },
      

      Have removed the title tag from html.template.html

      1 Reply Last reply Reply Quote 0
      • A
        arslan last edited by arslan

        Have a similar issue where if I have 3 components forming a tree:
        Comp A (title: Test A)
        —> Comp B (titleTemplate: title -> ${title} - B)
        --------> Comp C
        In Comp C, if I do (titleTemplate: title -> ${title} - C) instead of ending with: Test - A - B - C, Comp B title is not taken into account, title is taken from Comp A and I end up with a title = Test A - C

        Is there a way to fix that behavior or is it intended to work this way ?

        dobbel 1 Reply Last reply Reply Quote 0
        • dobbel
          dobbel @arslan last edited by

          @arslan

          WIll only work for SSR mode Quasar apps, see:

          See: https://quasar.dev/options/seo#Quasar-Meta-Plugin

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