diff --git a/package.json b/package.json index e0e5a4356..9f2f5b926 100644 --- a/package.json +++ b/package.json @@ -52,12 +52,10 @@ "primeicons": "4.0.0", "prismjs": "^1.15.0", "quill": "1.3.3", + "mitt": "^2.1.0", "@fullcalendar/core": "4.0.2", "@fullcalendar/daygrid": "4.0.1", "@fullcalendar/interaction": "4.0.2", "@fullcalendar/timegrid": "4.0.1" - }, - "dependencies": { - "mitt": "^2.1.0" } } diff --git a/src/views/setup/Setup.vue b/src/views/setup/Setup.vue index 8d9581db1..5e7d706d5 100755 --- a/src/views/setup/Setup.vue +++ b/src/views/setup/Setup.vue @@ -97,6 +97,10 @@ dependencies: {
Terminal requires Mitt, a tiny 200b EventBus implementation.
+None.
+Mitt.
Toast requires Mitt, a tiny 200b EventBus implementation.
+Toast messages are dynamically created using a ToastService that needs to be installed globally before the application instance is created.
Ideal location of a Toast is the main application template so that it can be used by any component within the application.
@@ -243,7 +247,7 @@ this.$toast.removeAllGroups();None.
+Mitt.