Twitter | Search | |
Andy Bell
It’s pretty wild that I’ve managed to pull live data from my client’s site to build a wireframe/prototype using in a very short amount of time. I bloody love this SSG. I find it useful for ✨everything✨
Reply Retweet Like More
Dave 🧱 May 31
API sourced data?
Reply Retweet Like
Zach Leatherman May 31
❤️❤️❤️❤️
Reply Retweet Like
Andy Bell May 31
Replying to @zachleat @eleven_ty
zach u will be very excited to see what I'm up to with eleventy right now
Reply Retweet Like
Andy Bell May 31
Replying to @DavidDarnes @eleven_ty
Yep! You can have data files which are JavaScript. I’m running some axios business and generating proper live data for the prototypes on build
Reply Retweet Like
Dave 🧱 May 31
Nice! Would like to see that. Wanting to try some graphql in there for you know who 👀
Reply Retweet Like
Andy Bell May 31
Replying to @DavidDarnes @eleven_ty
Reply Retweet Like
Dave 🧱 May 31
Just got eleventy working with an API as well 😙👌. It’s just the pagination stuff that catches me out, worked it out in the end
Reply Retweet Like
Jose Antonio Corachan May 31
Would you recommend this over Vue.js? I have just started a Vue.js prototype and I wonder if I should consider investing some time trying out this one...
Reply Retweet Like
Andy Bell May 31
Replying to @DavidDarnes @eleven_ty
Nice!
Reply Retweet Like
Pieter Beulque May 31
Do you guys have an example on how to create pages from API responses? E.g. fetch a list of 10 recipes & create pages for each of them. Is that possible with 11ty? Feel free to point me to the docs if I'm looking over it.
Reply Retweet Like
Andy Bell Jun 1
I don’t but would be very interested to find out. I’d love to make Wordpress a headless CMS for eleventy. Saying that, I’ve found Netlify CMS to be really good.
Reply Retweet Like
Dave 🧱 Jun 1
Super basic example, this worked for me but it seems so basic that I may have completely missed something obvious Works though!
Reply Retweet Like
Neil Kinnish Jun 1
I’ve been playing with wordpress and others as headless, gatsby and aws amplify, will check out eleventy
Reply Retweet Like
Pieter Beulque Jun 1
Is it that simple? 😱 Thanks, will play around with it soon!
Reply Retweet Like
Dave 🧱 Jun 1
I mean it worked when I ran it 😅. Note: you’ll need node-fetch installed as well as eleventy
Reply Retweet Like
Pieter Beulque Jun 1
Yeah, I'm playing around with the idea of putting a SSG in front of headless CMS'es (we use 4 at work) so that the front-end stack can become independent of CMS / back-end. Currently prototyping that stack using Gatsby, but that implies React and y'know 🤷‍♂️
Reply Retweet Like
Andy Bell Jun 1
Handy!! Nice one David!
Reply Retweet Like
Andy Bell Jun 1
Yeh I don’t get Gatsby, personally. Not event eleventy is so configurable and flexible.
Reply Retweet Like
Andy Bell Jun 1
I think you’ll be a fan, Neil. It’s really very good.
Reply Retweet Like