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

    Code works on dev, not on build

    Help
    2
    3
    69
    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.
    • L
      lavalle last edited by

      I am trying to build my first app with Quasar, so far I am deeply impressed, fantastic framework!

      Now I’ve stumbled upon this problem:

      I use calc() in a scss class:

      max-height: calc(100vH - 400px);
      

      Works as expected when in dev-mode. Running build:pwa the following error pops up

      Bildschirmfoto 2019-10-04 um 11.11.20.png

      and build process stops.

      Any ideas?

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

        @lavalle looks like a typo, vH instead of vh?.

        1 Reply Last reply Reply Quote 0
        • L
          lavalle last edited by

          I’ve always used vH and vW instead of vh and vw, always worked (and as I said, also in dev mode). Now I’ve looked it up, must actually be called vh / vw. Crazy … 😂

          Thanks a lot 👍

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