Use Toastr with Meteor in 2023


1. Install with:

meteor npm install --save toastr

2. In your .js/.ts/.coffee file, add:

import toastr from '/node_modules/toastr/build/toastr.min.js';

3. In your .scss file, add:

@import "{}/node_modules/toastr/toastr.scss";

4. Now to make a toast in a method, just add something like:

toastr.success("BoomboomShakkalakkah!");

Leave a comment