I found this solution : https://github.com/quasarframework/quasar/issues/8422

Best posts made by forevereffort
Latest posts made by forevereffort
-
RE: Fix tslint issue on Quasar component (getting the value from the Vuex Store)
@dobbel said in Fix tslint issue on Quasar component (getting the value from the Vuex Store):
Here’s an article that might help:
https://medium.com/swlh/properly-typed-vuex-stores-427bf4c6a3d1The repo that gives vuex types:
https://github.com/mrcrowl/vuex-typexHello @dobbel
by using vuex-composition-helpers, I fixed the above issues. my working code like the following.
as you see, is this good solution?
Regards
-
How to fix the tslint of electron-main.dev.js and electron-main.js
Hello
I did run yarn quasar build. but it was failed as the tslint issue of electron-main.dev.js and electron-main.js.
How can I fix these issues?
Regards
-
RE: Fix tslint issue on Quasar component (getting the value from the Vuex Store)
hello @dobbel thanks for your comment. but instead of disabling eslint, if possible, can I define the correct type for root.$store.getters[‘app/filter’]?
-
At Quasar framework, how to add the chokidar.watch value to Vuex Store?
I need the file watcher at Quasar framework. the file is able to change. so when the file is changed, I need to create the new file watcher and close the old one. for this process, I am going to define the global file watcher variable and the Vuex Store is good for the global variable. I made my code like the following image.
but unfortunately my code is working with Warning like the following image.
I want to fix the following 2 problems.
fix the my code tslint issue fix Vuex Store warn
please help me!!!
Regards
-
Fix tslint issue on Quasar component (getting the value from the Vuex Store)
At Quasar, I am using root.$store.getters to get the values from the Vuex Store. but as Quasar is based on typescript, I got the tslint issue like the following image.
please help me how I fix the above tslint issue.
Regards
-
how to use chokidar without tslint issues on TypeScript
chokidar has many tslint issues on TypeScript like the following image.
please help me how I can fix the tslint issue
Regards