Skip to content

Installation

Before you start, make sure StimulusBundle is configured in your app.

Install the bundle using Composer and Symfony Flex:

Terminal window
composer require pentiminax/ux-sweet-alert

If you’re using WebpackEncore, install your assets and restart Encore (not needed if you’re using AssetMapper):

Terminal window
npm install --force
npm run watch
# or use yarn
yarn install --force
yarn watch