laraveldaily / laravel-vue-first-crud Goto Github PK
View Code? Open in Web Editor NEWSimple demo project for Laravel 5.5 and Vue.js with one CRUD operation.
Simple demo project for Laravel 5.5 and Vue.js with one CRUD operation.
you didnt really mention the views
why is there <router-view
twice?
why the other 2 views? e.g. edit and create https://github.com/LaravelDaily/Laravel-Vue-First-CRUD/blob/master/resources/views/admin/companies/edit.blade.php
Hi
I haver inserted one company directly in database. And route show company, but with any view!
After install I get this message " Could not load companies"...and cannot create neither.
https://ibb.co/ZczgCs5
I got the same error like this:
But
composer update
dont solve it
Any idea?
This is my Vue console:
Hello, I've cloned your URL to download the demo project.
After that, i've used this command:
Then i've register one user and try to login. Login successful, but when i try to create new company, i got this error:
Error: Request failed with status code 404
at createError (app.js:1031)
at settle (app.js:31164)
at XMLHttpRequest.handleLoad (app.js:905)
When i see in network tab, there's 404 error when calling an api.
Can you please help me with this??
Thanks,
A common problem when running migrations is the SQL error for long indexes.
Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes
This requires editing App\Providers\AppServiceProvider::boot()
method to up the string length.
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Schema;
class AppServiceProvider extends ServiceProvider
{
public function boot()
{
Schema::defaultStringLength(191);
}
...
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.