An open API service indexing awesome lists of open source software.

https://github.com/danieladarve/craft-startup-kit

A Craft CMS 3 + (Laravel Mix, TailwindCSS+purge, PostCss, AlpineJS, ESLint, AirBnb, Prettier) Boilerplate
https://github.com/danieladarve/craft-startup-kit

airbnb alpinejs craftcms eslint laravel-mix postcss prettier

Last synced: about 1 month ago
JSON representation

A Craft CMS 3 + (Laravel Mix, TailwindCSS+purge, PostCss, AlpineJS, ESLint, AirBnb, Prettier) Boilerplate

Awesome Lists containing this project

README

          

# Craft CMS 3 + (Laravel Mix, TailwindCSS+purge, PostCss, AlpineJS, ESLint, AirBnb, Prettier)

A lightly opinionated Craft CMS setup.
Used internally for projects.

See [Tailwind CSS](https://tailwindcss.com) and [AlpineJS](https://github.com/alpinejs/alpine) for more details.

## How to Install

1. `composer create-project danieladarve/craft-startup-kit`
2. Don't run `./craft setup`, instead manually edit the `.env` file.
3. Once the `.env` is filled in, run `./craft install`

## What is included?

- [Craft CMS 3.x](https://github.com/craftcms/cms)
- Templates
- Blocks
- Components
- Pages (With dynamic page types)
- Email
- Exception pages (404, 410, 503)
- Configuration
- Custom `.env` file
- Custom `config/general.php`
- Craft Project Configuration using `config/project.yaml`
- Craft Plugins
- Essentials
- [Super Table](https://github.com/verbb/super-table)
- [Redactor](https://github.com/craftcms/redactor)
- [Redactor Custom Styles](https://github.com/carlcs/craft-redactorcustomstyles)
- [Olive Menus](https://github.com/OliveStudio/olivemenus)
- [Link Field](https://github.com/sebastian-lenz/craft-linkfield)
- Images
- [Imager (forked version)](https://github.com/danieladarve/Imager-Craft)
- [Image Resizer](https://github.com/verbb/image-resizer)
- Optimization
- [Minify](https://github.com/nystudio107/craft-minify)
- SEO
- [SEO](https://github.com/ethercreative/seo)
- Twig Utilities
- [Retcon 2](https://github.com/mmikkel/Retcon-Craft)
- Email & Forms
- [SendGrid](https://github.com/putyourlightson/craft-sendgrid)
- [Wheel Form](https://github.com/xpertbot/craft-wheelform)
- Customization
- [Control Panel Nav](https://github.com/verbb/cp-nav)
- Shell Scripts `scripts/*.sh` [nystudio107/craft-scripts](https://github.com/nystudio107/craft-scripts)

## Tailwind Configuration
Used a few plugins to speed up the development of common tasks such as styling typography, forms, aspect ratios.

- [@tailwindcss/ui configuration](https://www.npmjs.com/package/@tailwindcss/ui)
- [tailwindcss-aspect-ratio](https://github.com/webdna/tailwindcss-aspect-ratio)
- [benface/tailwindcss-typography](https://github.com/benface/tailwindcss-typography)
- [verlok/vanilla-lazyload](https://github.com/verlok/vanilla-lazyload)

## CraftCMS Global Configuration
Added the following global generic fields

- Head, Body & Footer
- Scripts
- Head Scripts
- Body Scripts
- Footer Scripts
- Favicons
- Site
- Site Logo
- Mobile URL Bar Colour
- Cookie Consent

## Useful Resources
- [Color Shades Generator for TailwindCSS](https://javisperez.github.io/tailwindcolorshades)