Upgrading to 1.x - Unknown import: QLayoutHeader
I am in the process of upgrading from Quasar 0.17.x to 1.0.0-rc.2 and the build is now failing with:
ERROR in ./.quasar/import-quasar.js Module build failed (from ./node_modules/babel-loader/lib/index.js): Error: Unknown import from Quasar: QLayoutHeader - imports.js:167 module.exports [client]/[quasar]/dist/babel-transforms/imports.js:167:11 - index.js:64 transform [client]/[babel-plugin-transform-imports]/index.js:64:16 - index.js:138 [client]/[babel-plugin-transform-imports]/index.js:138:39 ...
Can anyone indicate what I need to change to get this definition?
s.molinari last edited by
The new component is called QHeader.
Also jumping into the components section of the docs and generating a new reference project, I see certain elements have changed structure. One such example being the list items.
Yes. A lot has changed into a final stable API with much better performance, lower footprint and at least 2 times more features. Please read the upgrade guide fully. Note that it has been generated automatically and not manually. https://quasar.dev/start/upgrade-guide