Using Eleventy’s (11ty) JavaScript Data Files

I enjoy building workflows for pure static sites. I enjoy ingesting data into my build process instead of loading my client-side with fetches. In this example, we’ll use Eleventy’s ability to use a JavaScript file, to execute code to fetch data on site…


This content originally appeared on Bryan Robinson's Blog and was authored by Bryan Robinson's Blog

I enjoy building workflows for pure static sites. I enjoy ingesting data into my build process instead of loading my client-side with fetches. In this example, we'll use Eleventy's ability to use a JavaScript file, to execute code to fetch data on site build, negating the need for task runners like Gulp.


This content originally appeared on Bryan Robinson's Blog and was authored by Bryan Robinson's Blog


Print Share Comment Cite Upload Translate Updates
APA

Bryan Robinson's Blog | Sciencx (2024-11-04T19:18:59+00:00) Using Eleventy’s (11ty) JavaScript Data Files. Retrieved from https://www.scien.cx/2024/11/04/using-eleventys-11ty-javascript-data-files-2/

MLA
" » Using Eleventy’s (11ty) JavaScript Data Files." Bryan Robinson's Blog | Sciencx - Monday November 4, 2024, https://www.scien.cx/2024/11/04/using-eleventys-11ty-javascript-data-files-2/
HARVARD
Bryan Robinson's Blog | Sciencx Monday November 4, 2024 » Using Eleventy’s (11ty) JavaScript Data Files., viewed ,<https://www.scien.cx/2024/11/04/using-eleventys-11ty-javascript-data-files-2/>
VANCOUVER
Bryan Robinson's Blog | Sciencx - » Using Eleventy’s (11ty) JavaScript Data Files. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/11/04/using-eleventys-11ty-javascript-data-files-2/
CHICAGO
" » Using Eleventy’s (11ty) JavaScript Data Files." Bryan Robinson's Blog | Sciencx - Accessed . https://www.scien.cx/2024/11/04/using-eleventys-11ty-javascript-data-files-2/
IEEE
" » Using Eleventy’s (11ty) JavaScript Data Files." Bryan Robinson's Blog | Sciencx [Online]. Available: https://www.scien.cx/2024/11/04/using-eleventys-11ty-javascript-data-files-2/. [Accessed: ]
rf:citation
» Using Eleventy’s (11ty) JavaScript Data Files | Bryan Robinson's Blog | Sciencx | https://www.scien.cx/2024/11/04/using-eleventys-11ty-javascript-data-files-2/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.