A lightly opinionated Craft CMS setup. Used internally for projects.
See Tailwind CSS and AlpineJS for more details.
composer create-project danieladarve/craft-startup-kit
- Don't run
./craft setup
, instead manually edit the.env
file. - Once the
.env
is filled in, run./craft install
- Craft CMS 3.x
- Templates
- Blocks
- Components
- Pages (With dynamic page types)
- Exception pages (404, 410, 503)
- Configuration
- Custom
.env
file - Custom
config/general.php
- Craft Project Configuration using
config/project.yaml
- Custom
- Craft Plugins
- Essentials
- Images
- Optimization
- SEO
- Twig Utilities
- Email & Forms
- Customization
- Shell Scripts
scripts/*.sh
nystudio107/craft-scripts
Used a few plugins to speed up the development of common tasks such as styling typography, forms, aspect ratios.
- @tailwindcss/ui configuration
- tailwindcss-aspect-ratio
- benface/tailwindcss-typography
- verlok/vanilla-lazyload
Added the following global generic fields
- Head, Body & Footer
- Scripts
- Head Scripts
- Body Scripts
- Footer Scripts
- Favicons
- Scripts
- Site
- Site Logo
- Mobile URL Bar Colour
- Cookie Consent