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. jan.vaca92
    J
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 0
    • Groups 0

    jan.vaca92

    @jan.vaca92

    0
    Reputation
    3
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    jan.vaca92 Follow

    Latest posts made by jan.vaca92

    • RE: Modified creation of Vue root app in app.js

      Office is javascript API for any Office 365 products. More info can be found here https://docs.microsoft.com/en-us/office/dev/add-ins/develop/understanding-the-javascript-api-for-office#initialize-with-officeonready and function OnReady means when the API is successfully loaded by any Office 365 clients then this function is called.
      And on this event I would like tell quasar do create Vue root app and render it. If my explanation is not enough do not hesitate to ask me more questions and I would try to explain in more details.

      Thanks you
      Jan Vaca

      posted in Framework
      J
      jan.vaca92
    • Modified creation of Vue root app in app.js

      Hello everyone,

      I try to find way how could reach to be able modified/wrap creation of Vue root app in app.js. The code which is generated by Quasar automatically is look like this

      const app = {
        el: '#q-app',
        router,
        store,
        render: h => h(App)
      }
      

      My case what I tried to do is wrap this kind code in my solution which look like this

      Office.onReady(function () {
      
          var app = new Vue({
            el: "#q-app",
            render: h => h(App, {}),
            router,
            i18n: i18n,
            store: store
            // comments: { root }  
          })
      })
      

      I read the docs that if developer want modified or init something before the app starts then the boot files should be used, but I am not sure if this solution can be reached by the boot file.

      I would appreciate any suggestions.
      Thank you so much in advance.

      posted in Framework
      J
      jan.vaca92