Code works on dev, not on build



  • 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?



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



  • 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 👍


Log in to reply