Navigation

    Quasar Framework

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    QPdfViewer, VUE CLI

    [v1] App Extensions
    3
    5
    67
    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.
    • T
      Theo last edited by

      I would like to integrate QPdfViewer into a web app that we build using the vue cli and not the quasar cli; I can’t change that at the moment.

      In the package.json I have this:
      “dependencies”: {
      “@quasar/extras”: “^1.0.0”,
      “@quasar/quasar-app-extension-qpdfviewer”: “^1.0.0-beta.5”,
      …
      “devDependencies”: {
      “@quasar/quasar-app-extension-qpdfviewer”: “file:…/.”
      …

      I get this error: Unknown custom element: <q-pdfviewer>

      I understand that I have to register the component but I have no idea how to do that.

      Thanks

      Quasar is great, the new V1 stuff is exiting.

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

        Quasar app extensions is only available on quasar cli app afaik.

        1 Reply Last reply Reply Quote 0
        • T
          Theo last edited by

          Thanks for the response.
          I was able to use the excellent QCalender extension, got that to work fine using the Vue CLI.
          I know that the right answer is to use the quasar cli, but if anybody can point me some hints on how it could be done, I would greatly appreciate it.

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

            QPdfviewer has not been converted yet to use with Vue CLI
            @Theo

            1 Reply Last reply Reply Quote 0
            • T
              Theo last edited by

              @Hawkeye64
              Ok, understand,
              thanks

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