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

    Basic layout question!

    Framework
    3
    3
    856
    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.
    • F
      FlaminPhoenix last edited by FlaminPhoenix

      1. I did “quasar init default” & “npm install” within the generated folder & “quasar dev”
      2. I generated a layout with “quasar new layout TodoLayout”
      3. I generated a new component with “quasar new page Todos”
      4. I want the “Todos” page to use the “TodoLayout”. Thus in my router.js I have added another entry as below:

      0_1504065312369_Screen Shot 2017-08-30 at 9.24.59 AM.png

      1. Now I keep getting the error:

      0_1504065248129_Screen Shot 2017-08-30 at 9.23.31 AM.png

      What am I doing wrong?

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

        I quess you also need to add the QLayout as a component, as this is needed by 0.14

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

          That is correct, since 0.14, to utilize tree-shaking, all components have to be explicitly imported.

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