Skip to content

Commit 9b3a876

Browse files
committed
fix: remove toast notification library
1 parent 52720f7 commit 9b3a876

File tree

5 files changed

+2
-30
lines changed

5 files changed

+2
-30
lines changed

nuxt.config.js

-18
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ export default {
105105
// Doc: https://github.com/nuxt-community/stylelint-module
106106
'@nuxtjs/stylelint-module',
107107
'@nuxtjs/vuetify',
108-
'vue-toastification/nuxt',
109108
],
110109
/*
111110
** Nuxt.js modules
@@ -150,23 +149,6 @@ export default {
150149
baseURL: process.env.API_URL,
151150
debug: DEBUG,
152151
},
153-
toast: {
154-
transition: 'Vue-Toastification__fade',
155-
maxToasts: 20,
156-
newestOnTop: true,
157-
position: 'bottom-left',
158-
timeout: 5000,
159-
closeOnClick: true,
160-
pauseOnFocusLoss: true,
161-
pauseOnHover: true,
162-
draggable: false,
163-
draggablePercent: 0.6,
164-
showCloseButtonOnHover: true,
165-
hideProgressBar: true,
166-
closeButton: 'button',
167-
icon: true,
168-
rtl: false,
169-
},
170152
/*
171153
** vuetify module configuration
172154
** https://github.com/nuxt-community/vuetify-module

package-lock.json

-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@
3636
"nuxt-property-decorator": "^2.7.2",
3737
"regenerator-runtime": "^0.13.7",
3838
"vue-scrollto": "^2.20.0",
39-
"vue-slick-carousel": "^1.0.6",
40-
"vue-toastification": "^1.7.14"
39+
"vue-slick-carousel": "^1.0.6"
4140
},
4241
"devDependencies": {
4342
"@nuxt/types": "^2.13.2",

pages/index.vue

-3
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ export default class Index extends Vue {
4141
// store in local storage
4242
console.log(LsKeys.LAST_KNOWN_MESSAGE)
4343
this.$localStorageRepository.SetItem(LsKeys.LAST_KNOWN_MESSAGE, 'Hello')
44-
45-
// Toast notification
46-
this.$toast.info('Hello')
4744
}
4845
}
4946
</script>

tsconfig.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919
"@types/node",
2020
"@nuxt/types",
2121
"@nuxtjs/axios",
22-
"jest",
23-
"vue-toastification/nuxt"
22+
"jest"
2423
]
2524
},
2625
"exclude": ["node_modules", ".nuxt", "dist"]

0 commit comments

Comments
 (0)