Posts by Guilherme Zanini • 80 points
7 posts
-
1
votes0
answers17
viewsQ: Table structure with polymorphy
I am developing a CRM and I am in doubt in the structure of the tables, I do not know exactly what is the best way to follow to not have performance problems and also not mix the data, I ended up…
-
2
votes1
answer153
viewsQ: Laravel, when performing a query per model, how to say that a hasManyThrough relationship must contain these items?
Well, I found myself in the following situation, I own the entities Vehicle, Vehicle and Optional, where Vehicular is a pivot between the two. Beauty, there is a vehicle filter on the main page…
-
1
votes1
answer692
viewsA: how to read the content of a json by VUE
So I did some tests here and I did it this way: methods: { parse(){ var reader = new FileReader(); reader.onload = this.onReaderLoad; reader.readAsText(this.$refs.myFile.files[0]); },…
-
1
votes1
answer103
viewsA: mysqldump generating the same file with different size
Bruno, do you store any kind of log in the bank? It may be that there is some table that is varying in size, you can do the following test, instead of storing it in one file only, you can separate…
-
0
votes1
answer284
viewsA: How to validate child components using Veevalidate in Vuejs?
Follows the solution: I disabled the automatic Vee-validate injection: import VeeValidate from 'vee-validate' Vue.use(VeeValidate, {inject: false}) I injected the instance into the components I have…
vue.jsanswered Guilherme Zanini 80 -
0
votes1
answer85
viewsA: Advantages of using Slot in Vue.js
The slot directive mainly serves to customize parts of the component in a more practical way, i.e., let’s assume that you have a card and this card has a standard footer with Save or Cancel buttons,…
-
1
votes1
answer284
viewsQ: How to validate child components using Veevalidate in Vuejs?
Personal I saw myself in the following situation, I have a parent component that calls Account and it encompasses various components like Accountaddress, Accountphone, etc... Each of these…
vue.jsasked Guilherme Zanini 80