justdev/wordpress-starter

jD WordPress starter

3.0.3 2024-03-18 08:58 UTC

This package is auto-updated.

Last update: 2024-04-18 09:10:41 UTC


README

This repository contains a wordpress boilerplate made with Vite, SASS, Twig.

It is shipped with some pre-made mixins, a configured SVG-Sprite setup and some image optimization functionalities.

Requirements

  • composer : >=2.0
  • php : >=8.2
  • node : >=20
  • yarn (or equivalent)

Installation

You can install with composer

$  composer create-project justdev/wordpress-starter "name"

Or standart from project folder

$  composer install
$  yarn install

Build Assets

Development

Start a local development server with previous defined settings, default is https://localhost:8000/

$  yarn  dev

Production

Build all assets for production :

$  yarn  build