kavalcante / vue-truncate-collapsed

A simple component that truncates your text and adds a 'Read More/Show Less' clickable.
https://kavalcante.github.io/vue-truncate-collapsed/
MIT License
108 stars 17 forks source link

Gridsome Issue #15

Open mmoscosa opened 5 years ago

mmoscosa commented 5 years ago

Hello, first of all, amazing plugin! Simple and easy to use.

Am using Gridsome to develop a static page, while am running

$gridsome develop

The plugin works without any issue, it it when I try to run

$gridsome build

That I get the following error

Could not generate HTML for "/":
TypeError: [] is not a function
    at Module.223 (node_modules/vue-truncate-collapsed/dist/vue-truncate-collapsed.es.js:6:0)
    at __webpack_require__ (webpack/bootstrap:25:0)

Any pointer would be much appreciated

kavalcante commented 5 years ago

Hi @mmoscosa, thanks for that!

Could you provide a simple repository with the error? I never used Gridsome before, that would help a lot.