This content originally appeared on Raymond Camden and was authored by Raymond Camden
This is something I've demonstrated before but haven't had a chance yet to write about it by itself. As you know, one of the best features of Eleventy is support for data files. This feature lets you define JSON or JavaScript logic to return data your templates can use. But along with using data in your templates, you may want to use the same information in your client-side JavaScript code. So how can you do that?
This content originally appeared on Raymond Camden and was authored by Raymond Camden
Raymond Camden | Sciencx (2021-01-18T00:00:00+00:00) Accessing Eleventy Data on the Client Side. Retrieved from https://www.scien.cx/2021/01/18/accessing-eleventy-data-on-the-client-side/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.