Skip to content
Grav 2.0 is officially stable. Read the announcement →
General

ES6, spread operator and Grav

Started by Pavel 7 years ago · 0 replies · 450 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 jean-louis67, 3 days ago
2 83 2 days ago
General · by Andy Miller, 7 days ago
0 146 7 days ago
General · by Veehem, 1 week ago
0 146 1 week ago
General · by milkboy, 1 week ago
0 141 1 week ago
General · by ian russell, 2 weeks ago
2 226 2 weeks ago