Skip to content

Artisan Install

tanthammar edited this page May 4, 2021 · 7 revisions

Easy preset installation for 8.x and Tailwind 2.x

  • The package has an artisan command for easy installation in a fresh project.
  • It covers all the steps in a "Manual installation" (see sidebar).
  • It works for a plain Laravel 8, Jetstream or Breeze project.
  • The command will install/upgrade Livewire, Tailwind and Alpine
  • Tailwind JIT mode will be activated, you can disable it in tailwind.config.js after the installation

Preparations

  • Install a fresh Laravel 8 project (Jetstream or Breeze is optional)
  • Backup your project before running this command.
  • If you use git, it will exec() a git commi^t before and after installation.

Installing this package via composer:

composer require tanthammar/tall-forms

Run the installation command.

php artisan make:tall-forms-installation

When installation is complete, compile your css/js

npm install && npm run dev

The artisan command alters the following files:

  • app.blade.php
  • tailwind.config.js
  • webpack.mix.js
  • custom.css/scss
  • app.css/scss
  • views/components/pages/default.blade.php

Next step -> Create Form

Clone this wiki locally