Code Monkey home page Code Monkey logo

laravel-vue-first-crud's Issues

The view isn't right

Hi, I am a newbie.
I have no idea about it but looks like the view isn't right.
I have trying other projects also I am getting the somewhat same issue with them also.
what could possibly go wrong

Screen Shot 2019-07-12 at 12 07 56 PM

Api call not working, got errors while call any of api

Hello, I've cloned your URL to download the demo project.

After that, i've used this command:

  • Copy .env.example file to .env and edit database credentials there
  • Run composer install
  • Run php artisan key:generate
  • Run php artisan migrate
  • Run npm install
  • Run npm run dev

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,

The old SQL error for index key too long

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);
    }
    ...
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.