but can I access that table in my lavarel code page?
Why people in this group cannot take screenshots?
Is it that difficult or what?
does it look as a screenshot for you?
Let me explain, Vue Js is a library. So when you write vue code, when you run
npm run dev
, the vue code is converted to Javascript and output in public/js/app.js and the browser understands it. So if you write the vue code in blade files, the browser cannot understand that that’s Javascript.
npm run dev
, the vue code is converted to Javascript and output in public/js/app.js and the browser understands it. So if you write the vue code in blade files, the browser cannot understand that that’s Javascript.
you know whats confusing me
We are all anxious to get writing some code to interact with websockets, but first we need to build the foundation of code necessary to start submitting and displaying comments to our users. Once we have this part setup, then we can easily add websockets to it to enhance the experience even more.
This episode will create a small API for us to interact with and will create some structure to save our comments.
First we need to create a database migration to store our comments. This will require creating a migration, a model, and a controller for our comments.
We will make 2 API endpoints for our comments. The first is to display all comments for a specific post. The second endpoint will allow us to save a new comment via the API.
Then its time to use this API by setting up our frontend. We will create two Vue.js methods to handle this. The first is getComments() which gets all the comments for the current post, and the second is postComments() which will post a new comment for the current post.
Next up: We actually connect websockets to display new comments onto the page as they are submitted live!
==== WRITTEN TUTORIALS ====
“Mastering Websockets in Laravel” Master Series Page:
Part 2: Setting Up Comments AJAX (Written Tutorial)
==== MORE FROM THIS SERIES . ====
Full Playlist for the “Mastering Websockets in Laravel” Series:
==== DOWNLOAD SOURCE CODE ====
Github Code Repo for this Series:
https://github.com/DevMarketer/Laravel_Echo_Tutorial
Download Source Code for this Episode:
https://github.com/DevMarketer/Laravel_Echo_Tutorial/releases/tag/Part2
==== FOLLOW ME ====
Subscribe for New Releases!
Subscribe to DevMarketer Insider (Email)
https://confirmsubscription.com/h/d/5EDC91CF554832D1
Twitter – http://twitter.com/_jacurtis
(ask me questions!)
==== QUESTIONS? ====
Leave a comment below and I or someone else can help you.
For quick questions you may also want to ask me on Twitter, I respond almost immediately.
Email me hello@jacurtis.com
Thanks for all your support!
It worked because you can also use vue cdn package
oh I see
You can try rollback and add the field in migration file and run migrate (if that’s the last migration )
You create a migration for adding the column
https://stackoverflow.com/questions/16791613/add-a-new-column-to-existing-table-in-a-migration
I can’t figure out how to add a new column to my existing database table using the Laravel framework.
I tried to edit the migration file using…
<?php
public function up()
{
Schema::crea…
By default yajra works in that manner.
Cyber-Warrior.Org / AKINCILAR Turkiye’nin Siber Sivil Savunma Gucu – Turk Hackerlar

These are the table

By using this we can create simple table

By using this query directly on xamp I can create view table ..but can I access that table in my lavarel code page?
who exactly?
almost everyone
Everybody can take screenshot
does it look as a screenshot for you?
or this
or that