NPM / Yarn
npm i vue2-timeago@next
yarn add vue2-timeago@next
🛠With webpack and Vue CLI please using the following code in vue.config.js
const path = require('path')
module.exports = {
configureWebpack: {
resolve: {
symlinks: false,
alias: {
vue: path.resolve('./node_modules/vue')
}
}
}
}