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

    Background in Layout

    Framework
    3
    9
    774
    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.
    • E
      eloy.silva last edited by

      how to put a background image in the layout
      like the sap hanna IDE

      Thanks in advance

      ide-sap_foro.png

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

        With a gradient?

        Scott

        E 1 Reply Last reply Reply Quote 0
        • E
          eloy.silva @s.molinari last edited by

          @s-molinari yes

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

            Then you add it as the background to your layout… This is basic web dev stuff. Nothing to do with Quasar.

            Scott

            E 1 Reply Last reply Reply Quote 0
            • E
              eloy.silva @s.molinari last edited by

              @s-molinari

              for this reason was the question

              back.jpg

              E 1 Reply Last reply Reply Quote 0
              • E
                eloy.silva @eloy.silva last edited by

                @eloy-silva said in Background in Layout:

                @s-molinari

                for this reason was the question

                back.jpg

                the path of this image is in the folder in static, here it is only to put the example

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

                  I have no idea what you are doing. Sorry.

                  But, this is sort of how it can work.

                  https://codesandbox.io/s/awesome-golick-tnfjt?file=/src/pages/Index.vue

                  Scott

                  E 1 Reply Last reply Reply Quote 0
                  • E
                    eloy.silva @s.molinari last edited by

                    @s-molinari
                    Thanks

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

                      @eloy-silva images is a folder you have created so is not in the webpack aliases. You can resolve this by doing the following: 1) use relative path, or 2) in build section of quasar.conf.js:

                            chainWebpack (chain) {
                              chain.resolve.alias.merge({
                                images: path.resolve(__dirname, './src/images')
                              })
                            }
                      
                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post