Skip to main content
Version: Previous

Notifications - installation

Initialising and adding to a new application

The best way to add the Notifications component to a new application is to use GenX - see GenX CLI for more details.

For example, the following command initialises a new application called myapp and adds the Notifications component to it.

Powershell
npx -y @genesislcap/genx@latest init myapp -x --no-shell; npx -y @genesislcap/genx@latest add myapp -x -s genesislcap/pbc-notify-seed

Adding to an existing application

To add Notifications to an existing application, run this command, which uses genx to install the components (change app-folder-name to the name of your app folder):

Powershell
npx -y @genesislcap/genx@latest add app-folder-name -x -s genesislcap/pbc-notify-seed