g2-vue | Factory wrapper for using G2
kandi X-RAY | g2-vue Summary
kandi X-RAY | g2-vue Summary
This Project Is Deprecated. Use [Viser] instead. Factory wrapper for using G2 easily in a Vue Component.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of g2-vue
g2-vue Key Features
g2-vue Examples and Code Snippets
Community Discussions
Trending Discussions on g2-vue
QUESTION
I am using the repo https://github.com/mschwarzmueller/laravel-ng2-vue/tree/03-vue-frontend so I have 100% confidence in the reliability of the code. I can post through the laravel api endpoint through the very simple Vue client, and also through Postman. Through Postman I can retrieve the table data array, but not so in the client app. In POSTMAN:
...ANSWER
Answered 2017-Feb-21 at 00:12The reason your code isn't working if because you haven't provided a key for your $quotes
in your controller but you're looking for it in your vue file (response.data.quotes
).
[$quotes]
is essentially [0 => $quotes]
so when the json response comes through it be 0: [...]
not quotes: [...]
.
To get this to work you just need to change:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install g2-vue
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page