ipatate / mercredi-theme

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WP Starter theme

This theme use :

Requirement for use this theme

wp-config.js

Define environment variable :

define('WP_ENV', 'development'); // or production

development requirement

Use or install node.js on your local machine.
This project use npm and node for compile assets.

For install dependencies :

npm install

npm scripts

For start development :

npm run dev

For build assets:

npm run build

Gutenberg editor

For admin editor, a css file is generated on build.
Use the assets/css/editor.css file for add style.

The command is run on build but you can generate separately:

npm run build:editor

or

npm run watch:editor

assets in CSS

use /assets/image.jpg instead of ./assets/image.jpg

Vite add a base path to asset on build.

About

License:MIT License


Languages

Language:PHP 40.4%Language:CSS 39.4%Language:JavaScript 12.7%Language:Twig 7.5%Language:HTML 0.1%