Answer the question
In order to leave comments, you need to log in
Vue-CLI / Webpack / Vuejs-noty does not work in older browsers. Is there a way to fix?
I am developing a project on Vuejs, and on the server in old browsers the frontend will fall off and the user will see a white screen. The error is the following:
SyntaxError: Use of const in strict mode. (Most recent call first)
File webpack:///./node_modules/vuejs-noty/dist/vuejs-noty.js line 8 col 57 in t
!function(e,n){t.exports=n()}(0,function(){"use strict";function t(t){return"function"==typeof t|...
Uncaught TypeError: Cannot set property 'vuejs-noty' of undefined
npm install --save vuejs-noty
import VueNoty from 'vuejs-noty'
import 'vuejs-noty/dist/vuejs-noty.css'
Vue.use(VueNoty, {timeout: 2000, progressBar: true, layout: 'topRight', theme: 'bootstrap-v4'});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question