Vue.js
Vuetify :: Open detail row programmatically
For the upcoming PiCockpit v2.0 release, I am preparing a GPIO application. The GPIO entries are table rows – and to configure them, we want to be able to access the detail row by clicking on the configure button: clicking either the chevron or the configure button will lead to the detail row opening: Here…
Weiterlesenfixing z-index for v-menu and v-list: how to make a menu overlap your content in vuetify
I have the following menu setup, and I think you can see the problem immediately: As you can possibly see, I have a v-app-bar which contains the menu, and a main content area. The v-menu is being overlapped by the v-card in the content of the page. Trying to set the z-index property on v-menu…
WeiterlesenFixing Uncaught ReferenceError: Vue is not defined with webpack
I am moving to a workflow using WebPack, which bundles code. While transitioning, I stumbled across this error: Uncaught ReferenceError: Vue is not defined at eval (external “Vue”?548a:1) at Object.<anonymous> (pcp_mainbundle.js:172) at __webpack_require__ (pcp_mainbundle.js:20) at eval (pcpVue.js?6cb8:1) at Object.<anonymous> (pcp_mainbundle.js:196) at __webpack_require__ (pcp_mainbundle.js:20) at eval (pcpMain.js?814e:1) at Object.<anonymous> (pcp_mainbundle.js:189) at __webpack_require__ (pcp_mainbundle.js:20) at Object.<anonymous> (pcp_mainbundle.js:181)…
Weiterlesenvue.js history vs hash mode on a subpath
In case you are mounting your vue Router not on the root page, but a “subpath”, there is an important difference in the behavior of Vue Router in history and hash mode. History mode If you want, for example, to use https://picockpit.local/debug/ to have the Vue Router live on, in history mode: The following routes…
WeiterlesenPaho failure to subscribe
Problem AMQJS0005E Internal error. Error Message: Cannot read property ‘show’ of undefined This error is shown sporadically, especially when you Shift-Reload the whole page. Solution I have a Vue.js Plugin to show “toast” messages (Vue.toasted). I currently use it for debugging purposes. Everything worked fine initially, as my code was executed after Vue was initialized…
WeiterlesenGetting POST requests to work with Axios, Kemal (crystal lang), vue.js
In picockpit.com, I am using AJAX requests to communicate with the backend for update operations. For instance, if you want to change the name of this Pi, you would select: which shows an inline form: how to show this inline form with vue.js is besides the point of this post (even though very interesting!) Clicking…
Weiterlesen