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
    1. Home
    2. Tags
    3. environment
    Log in to post
    • J

      [Solved] Access environment in index.template.html ?
      Framework • environment • • jitendra16

      2
      0
      Votes
      2
      Posts
      314
      Views

      J

      Solved it by “htmlWebpackPlugin.options.process.env.isdev”

      my quasar.conf includes following

      env: ctx.dev ? { // so on dev we'll have isdev: true } : { // and on build (production): isdev: false }
    • G

      Build for environments other than 'development" and 'production'
      Framework • build development environment production test • • gtissington

      9
      0
      Votes
      9
      Posts
      5839
      Views

      A

      Hi sorry, I’m not sure whether this has been marked as resolved or not.

      Seems like I have same concern:
      So there will be 3 different environments (e.g: dev, staging, production).
      It will also have 3 different API url. (how to set these three up without using dot-env ext which failed in Amplify readability)
      It will have 3 different build commands.

      which one should I do first and how?