Skip to content

An easy starter repo for Craft CMS v3. Equipped with TailwindCSS, Laravel Mix, and some helpful plugins.

Notifications You must be signed in to change notification settings

coffeylukas/craft3-starter

Repository files navigation

Craft3 Starter

This is a simple starting repo for basic Craft projects. I'm using TailwindCSS, Laravel Mix, and plain ole' JavaScript in this project. This is a great starting point for any simple or complex Craft project. I <3 Craft, if you have never tried it as a CMS, you should.

Requirements

  • Using PHP >7.1.23
  • Using Node >v9.10.1

Installation

Install Composer. composer install --ignore-platform-reqs.

Install Yarn. yarn install. If you get build issues, run nvm use stable and make sure stable is above the Node version listed in the requirements.

Run your PHP server, and point the host to the web folder.

You'll need to create a new security key before running the installer. Double check all the requirements on this page.

Note: If you are not familiar with PHP and all of this is Greek to you, there is a super awesome tutorial over on Craft's website: Craft CMS Tutorial

Starting

At this point, if all went well, you should be able to acces the site. Once you can, you can start the Laravel Mix build using: npm start. This will watch your src/ folder for changes and recompile.

At this point you're all set!

Using This Repo As A Template

If you want to see how to use this repo as a template without manually copy/pasting files, check out this article: Having a git repo that is a template for new projects

Contribution

Anyone is welcome to add some helpful Craft plugins or fix bugs they encounter, just make a PR!

Contact

Lukas Coffey - [email protected]

About

An easy starter repo for Craft CMS v3. Equipped with TailwindCSS, Laravel Mix, and some helpful plugins.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published