@rstoenescu ok - thanks I did bring it to work, the term “plugin” was confusing me.
H
Latest posts made by hannesl
-
RE: Using global lodash with quasar v15 (Solved)
-
RE: Using global lodash with quasar v15 (Solved)
Hi, I am new to quasar and trying as well to add a javascript (log4javascript) and actually I don’t know where exactly to put the lines @rstoenescu . Tried with App.vue but gives error:
ERROR in ./src/App.vue?vue&type=script&lang=js (./node_modules/babel-loader/lib??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=script&lang=js) Module build failed: SyntaxError: /development/proj/frontend.q/src/App.vue: Unexpected token, expected ";" (9:25) 7 | 8 | import log4javascript from 'log4javascript' > 9 | export default ({ Vue }) { | ^ 10 | name: 'App', 11 | Vue.prototype.$log = log4javascript // then use as this.$_ 12 | }
Could you pls guide me? Thanks and regards