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

    Quasar UMD 2.0.0 + Vite

    Framework
    1
    1
    895
    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.
    • G
      g_hult last edited by g_hult

      Hi!

      I’m trying to prototype using the UMD 2.0.0 with Vite. I follow the steps in the installation guide

      I’m importing the cdn packages in index.html. And do app.use(Quasar) in my main.js.

      However this throws an error Cannot read property 'proxy' of null at setup (quasar.umd.prod.js:6)

      Any ideas why?

      Cheers

      index.html

      ...
        <body>
          <div id="q-app"></div>
          <script src="https://cdn.jsdelivr.net/npm/vue@3/dist/vue.global.prod.js"></script>
          <script src="https://cdn.jsdelivr.net/npm/quasar@2.0.0-beta.5/dist/quasar.umd.prod.js"></script>
          <script type="module" src="/src/main.js"></script>
      </body>
      

      main.js

      import { createApp } from 'vue'
      import App from './App.vue'
      import store from './store'
      import router from './router'
      
      createApp(App)
        .use(router)
        .use(store)
        .use(Quasar)
        .mount('#q-app')
      
      

      App.vue

      <template>
        <div>
          <q-btn>hello</q-btn>
        </div>
      </template>
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post