Basic layout question!

    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?

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

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

Log in to reply