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

    Upgrading to 1.x - Unknown import: QLayoutHeader

    Framework
    3
    4
    818
    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.
    • A
      ajmas last edited by ajmas

      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?

      1 Reply Last reply Reply Quote 0
      • s.molinari
        s.molinari last edited by

        The new component is called QHeader.

        https://quasar.dev/start/upgrade-guide#QLayoutHeader-%26-QLayoutFooter

        Scott

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

          Thanks.

          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.

          https://quasar.dev/vue-components/list-and-list-items

          1 Reply Last reply Reply Quote 0
          • rstoenescu
            rstoenescu Admin last edited by

            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

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