From 2894148cb965656f6de9835600cae45e9429526e Mon Sep 17 00:00:00 2001 From: Mansoor Khan <8mansoorkhan@gmail.com> Date: Thu, 21 Jul 2022 12:43:03 +0500 Subject: [PATCH] Add an example script to README This PR adds an example script to the readme, which shows how to use toasts inside Single-File Components (SFCs) using ` ``` +### Using inside Single-File Components (SFCs) + +To create toasts inside a Single-File Component using ` +``` + ### Using with Vuex or outside components By default, Vue Toastification creates the plugin using a global event bus, so all you need to do to use it outside your components is to call `useToast()`.