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

    ClosePopup Error in beta 1.0.0

    Help
    closepopup directive error
    4
    6
    706
    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.
    • D
      darshie last edited by

      Hi,

      Beginner dev here. Running a vanilla Quasar SSR project. I’m trying to add v-close-popup to a dialogue button, but I can’t even get that far. The minute I add the ‘ClosePopup’ directive to the directives list in quasar.conf.js (as below):

        directives: [
          'ClosePopup',
          'Ripple'
        ],
      

      …running quasar dev -m ssr in the CLI will throw up an error (as below):

      Module build failed (from ./node_modules/babel-loader/lib/index.js):
      Error: Unknown import from Quasar: ClosePopup

      Remove the single ‘ClosePopup’ directive, and the app runs fine.

      Not sure if this is a bug or my inexperience showing in failing to catch a silly mistake. Any help appreciated.

      PS: confirmed I still get the same error running dev mode as SPA

      1 Reply Last reply Reply Quote 0
      • D
        darshie last edited by

        Should note: using the Quasar CLI.

        1 Reply Last reply Reply Quote 0
        • D
          dumiq last edited by

          Same here. Please advice

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

            Run “quasar info” to check your quasar version

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

              v-close-popup was added in quasar v1.0.0-beta.11.
              While we are in v1 beta, it is paramount that you are running latest version as soon as it is released.

              D 1 Reply Last reply Reply Quote 3
              • D
                darshie @rstoenescu last edited by

                @rstoenescu said in ClosePopup Error in beta 1.0.0:

                v-close-popup was added in quasar v1.0.0-beta.11.
                While we are in v1 beta, it is paramount that you are running latest version as soon as it is released.

                Turns out it was a silly mistake; this is exactly what was going on. Was on an earlier beta version. Thanks!

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