Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

chunks bug vue js

router.onError(error => {  if (/loading chunk d* failed./i.test(error.message)) {    window.location.reload()  }})
Source by blog.francium.tech #
 
PREVIOUS NEXT
Tagged: #chunks #bug #vue #js
ADD COMMENT
Topic
Name
5+3 =