Closed corinneroelli closed 7 years ago
Includes a specific variant with the key property by adding a key property in meta data.
exampleData.variants.find((variants) => variants.meta.key === 'inverted')
this allows you to change the order of variants without changing the variants include in data.js file. See also original pr: https://github.com/unic/estatico/pull/29
https://github.com/unic/estatico/pull/29 was preferred in Slack vote. 😢 Thanks anyway, @corinneroelli!
Includes a specific variant with the key property by adding a key property in meta data.
this allows you to change the order of variants without changing the variants include in data.js file. See also original pr: https://github.com/unic/estatico/pull/29