Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

ES6, spread operator and Grav

Started by Pavel 7 years ago · 0 replies · 498 views
7 years ago

I have own script with spread operator. It's works perfectly out of Grav (pure JS/HTML site).
It's not working on Grave site. Console.log(...node) return blank collection and 'for of' loop is not working too.
I added babel plugin but without any result. How enable ES6 in Grav completely?

Suggested topics

Topic Participants Replies Views Activity
General · by jeremycherfas, 4 days ago
3 108 10 hours ago
General · by Old Man Umby, 3 days ago
1 63 3 days ago
General · by Sebastian, 5 days ago
1 84 5 days ago
General · by Andy Miller, 2 weeks ago
0 219 2 weeks ago
General · by ready-4-IT, 6 months ago
1 717 3 weeks ago