DEV Community


Discussion on: Pass Laravel data into a Vue component without using any HTTP request

tirtakeniten profile image
Tirta Keniten

If the data only contain alpha numeric character that would be no problem.

I tried with the data that contain many special characters, it broke the layout.

manuelojeda profile image
Manuel Ojeda Author

Well, I haven't found that issue with my projects, maybe if you try to give the data as a string and inside Vue make it into a Object or Array using JSON.parse can solve that issue.