文章

laravel create model with controller with migration

php artisan make:model Customer --migration   php artisan make:controller CustomersController --model=Customer php artisan make:model Todo -mcr

Class 'Inertia\Inertia' not found

  php artisan jetstream:install inertia

'php artisan migrate' Error:Class 'App\Providers\Schema' not found

  In the AppServiceProvider.php, you did not include the necessary use statement at the top of the file. Copy use Illuminate \ Support \ Facades \ Schema ;

How do I remove the branding from tinymce? (Where it says 'Powered by tinymce')

  tinymce.init({ selector: '#tinymce', branding: false });

check laravel version

  php artisan --version   Laravel Framework 9.43.0

vue 2 tinymce version

npm i @tinymce/tinymce-vue@2.1.0 npm i tinymce@5.0.7

How to fix the error "You may need an appropriate loader to handle this file type"

  webpack.mix.js use  .vue() const mix = require ( 'laravel-mix' ); /* |-------------------------------------------------------------------------- | Mix Asset Management |-------------------------------------------------------------------------- | | Mix provides a clean, fluent API for defining some Webpack build steps | for your Laravel applications. By default, we are compiling the CSS | file for the application as well as bundling up all the JS files. | */ mix. js ( 'resources/js/app.js' , 'public/js' ) . vue () . postCss ( 'resources/css/app.css' , 'public/css' , [ // ]); ref link  https://laravel-mix.com/docs/6.0/upgrade