heyblackmagic/foundation

There is no license information available for the latest version (2.1.0) of this package.

2.1.0 2024-02-22 17:05 UTC

This package is auto-updated.

Last update: 2024-06-22 17:57:36 UTC


README

Craft CMS 4 Foundation

Getting started

Run composer create-project heyblackmagic/foundation ./PATH to create your Craft CMS instance.

Setup

After installing and configuring your Craft CMS instance, set the ./public_html directory as the project webroot. For example, if your virtual host is "http://foundation.test", run the following in your terminal:

~/Sites/foundation main
❯ cd public_html && valet link foundation

IMPORTANT

Your project URL, whether local, staging or production, MUST NOT include a trailing slash. Check that the PRIMARY_SITE_URL y VITE_DEV_URL variable in the .env follows this recommendation.

Example: ❌ http://foundation.test/

https://foundation.test

Command reference

  • Run npm run dev to watch files to start development.
  • Run npm run build to build assets.