thomasjohnkane / tailstart

Updated version of Laravel, Tailstart, Stimulus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tailstart

-- A starter project for Laravel, Tailwind CSS and Stimulus JS

Installation

  • git clone git@github.com:thomasjohnkane/tailstart.git

  • cd tailstart

  • composer install

  • cp .env.example .env

  • php artisan key:generate

  • yarn install

  • yarn watch

  • git clone git@github.com:thomasjohnkane/tailstart.git && cd tailstart && composer install && cp .env.example .env && php artisan key:generate && yarn install && yarn watch

Tailwind CSS

  • config variables are handled in ./tailwind.js
  • components are pulled into app.scss from ./resources/assets/scss/components
  • They are then built using laravel-mix in the webpack.mix.js file

Stimulus JS

  • Items are also built with laravel-mix
  • Controllers are stored in ./resources/assets/js/controllers
  • Naming convention matters a lot, pay attention to file names

Laravel

  • Routes, views, etc are all the same as normal

About

Updated version of Laravel, Tailstart, Stimulus


Languages

Language:PHP 96.8%Language:HTML 3.2%