Static boilerplate which contains a starting static development point for SSM projects.
- NodeJS (20.9.0 or higher)
- Install dependencies:
yarn install
- Run in development mode:
yarn run start
- Or build for production:
yarn run build
-
Update the URL prefix in the
package.json
file undervars[prefix]
if the site is located in a subdirectory. -
Set the project type to
blocks
inpackage.json
file undervars[project]
when developing for WordPress Gutenberg blocks. -
Run
yarn run lint
to lint the project. -
Run
yarn run prettier:fix
to beautify the files.
Install via Composer:
$ composer require ssm/static-boilerplate