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.jsonfile undervars[prefix]if the site is located in a subdirectory. -
Set the project type to
blocksinpackage.jsonfile undervars[project]when developing for WordPress Gutenberg blocks. -
Run
yarn run lintto lint the project. -
Run
yarn run prettier:fixto beautify the files.
Install via Composer:
$ composer require ssm/static-boilerplate