Laravel Preset
The starting point for all Alara Creative Laravel projects., (*1)
Starts with:, (*2)
- Laravel Mix Plugins
- PostCSS Import
- Precss
- PurgeCSS
- Tailwind
- Tailwind
- Vue
Also removes SASS
directory in favor of a CSS
directory for PostCss
and adds a custom .editorconfig
., (*3)
Inspired by Laracasts tutorial., (*4)
Installation
Create a new Laravel project., (*5)
Require via composer: composer require alaracreative/alara-laravel-preset
, (*6)
Install Preset: php artisan preset alara
, (*7)
Install npm: npm install
, (*8)
Setup Tailwind: node_modules/.bin/tailwind init tailwind.js
, (*9)
Run npm: npm dev
or npm watch
, (*10)
Yay!, (*11)