[Vuejs]-How to submit a form in Laravel Vue component

0👍

Create a route in resources/routes/web.php:

Route::post( '/submit', 'ThoughtJournalController@store' );

Then edit your form:

<form method="POST" action="/submit">

0👍

It seems like you forgot to Define the route did you do:

    Route::get('posts', 'ThoughtJournalController@store');

Leave a comment