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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

ES6, spread operator and Grav

Started by Pavel 7 years ago · 0 replies · 369 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 Jerry Hunt, 4 days ago
2 104 18 hours ago
General · by pamtbaau, 23 hours ago
1 88 22 hours ago
General · by Andy Miller, 1 day ago
0 53 1 day ago
General · by Marcel, 12 months ago
6 381 5 days ago
General · by Duc , 6 days ago
3 69 6 days ago