Basic layout question!
- I did “quasar init default” & “npm install” within the generated folder & “quasar dev”
- I generated a layout with “quasar new layout TodoLayout”
- I generated a new component with “quasar new page Todos”
- I want the “Todos” page to use the “TodoLayout”. Thus in my router.js I have added another entry as below:
- Now I keep getting the error:
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.