laravel-video-chat icon indicating copy to clipboard operation
laravel-video-chat copied to clipboard

Vue-timeago / Dependency not found

Open chlamy opened this issue 6 years ago • 2 comments

Hi, On final npmrun dev, I have error on vue-timeago.

`This dependency was not found:

  • vue-timeago/locales/en-US.json in ./resources/js/bootstrap.js

To install it, you can run: npm install --save vue-timeago/locales/en-US.json Asset Size Chunks Chunk Names /css/app.css 171 KiB /js/app [emitted] /js/app /js/app.js 1.89 MiB /js/app [emitted] /js/app`

I tried install vue-timeago, change version Laravel project, but always same error.

chlamy avatar Dec 27 '18 23:12 chlamy

Same issue. Anybody have solved it?

shresthabiswas avatar Apr 19 '20 06:04 shresthabiswas

Change it to:

Vue.use(VueTimeago, { name: 'timeago', // component name,timeagoby default locale: 'en-US', locales: { 'en-US': require('date-fns/locale/en') } })

dasbrowedx avatar Jan 27 '21 16:01 dasbrowedx