Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 710 Bytes

CONTRIBUTING.md

File metadata and controls

36 lines (25 loc) · 710 Bytes

Contributing

Local development

Setting up an environment

This plugin uses craft-plugin-vite to bundle its CP frontend assets.

This is how you start the HMR server:

cd buildchain
npm install
npm run dev

You must also tell craft-plugin-vite to use the HMR server by setting the VITE_PLUGIN_DEVSERVER environment variable to a truthy value.
Example:

VITE_PLUGIN_DEVSERVER="true"

Committing frontend changes

Before committing your frontend changes, don't forget to build them and include them in your commit:

cd builchain
npm run build
git add ../src/web/assets/dits