Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adamwathan/laravel-preset
https://github.com/adamwathan/laravel-preset
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/adamwathan/laravel-preset
- Owner: adamwathan
- License: mit
- Archived: true
- Created: 2018-01-24T16:44:05.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-18T12:52:32.000Z (about 5 years ago)
- Last Synced: 2024-07-19T02:16:17.750Z (4 months ago)
- Language: PHP
- Size: 18.6 KB
- Stars: 273
- Watchers: 10
- Forks: 26
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
> **Note: This is no longer maintained as I don't actually use it myself, I just set this stuff up from scratch each time since it only takes a minute to do and Laravel 6 ships with less boilerplate to delete.**
# 🚀 Adam Wathan's Laravel Frontend Preset
A Laravel frontend preset that scaffolds out new applications just the way I like 'em 👌🏻
What it includes:
- [Tailwind CSS](https://tailwindcss.com)
- [postcss-nesting](https://github.com/jonathantneal/postcss-nesting) for nested CSS support
- [Purgecss](https://www.purgecss.com/), via [spatie/laravel-mix-purgecss](https://github.com/spatie/laravel-mix-purgecss)
- [Vue.js](https://vuejs.org/)
- Removes Bootstrap and jQuery
- Adds compiled assets to `.gitignore`
- Adds a simple Tailwind-tuned default layout template
- Replaces the `welcome.blade.php` template with one that extends the main layout## Installation
This package isn't on Packagist (yet), so to get started, add it as a repository to your `composer.json` file:
```json
"repositories": [
{
"type": "vcs",
"url": "https://github.com/adamwathan/laravel-preset"
}
]
```Next, run this command to add the preset to your project:
```
composer require adamwathan/laravel-preset --dev
```Finally, apply the scaffolding by running:
```
php artisan preset nothingworks
```> What's `nothingworks`? NothingWorks Inc. is the absurd name I chose for my business, where I create products like [Refactoring to Collections](https://adamwathan.me/refactoring-to-collections/) and [Test-Driven Laravel](https://course.testdrivenlaravel.com/) 😄