DEV Community

Cover image for My blog is proudly powered by Gatsby (with some super powers)

My blog is proudly powered by Gatsby (with some super powers)

Sebastien Castiel on September 30, 2019

My personal blog has been using Gastby for a year now. Before that I used a home-made tool I was proud of, but it was very minimalistic. Switching ...
Collapse
 
nikoheikkila profile image
Niko Heikkilä

Nice! I'm working on migrating my Gatsby blog to Typescript as well since I have created a couple of quite complex components which I tend to break every other day. Next steps for me are extracting the theme to its own repository or submodule and starting to write posts in MDX (Markdown + JSX). ❤️

Can you share the steps you took to get types right with Apollo? Would be really helpful.

Collapse
 
scastiel profile image
Sebastien Castiel

Hi! To make it work with Apollo it's pretty easy actually:

The types will be generated into src/types folder :)

Collapse
 
nykc profile image
Derek Ackley

Thanks,
I have been exploring this actually. However getting up and running with the default gatsby blog starter is sufficient, I really hate the theme. Now this is where the lack of tutorials come in, I would love a good gatsby blog theming tutorial that is a little more indepth than the default starter blog.

Collapse
 
lautarolobo profile image
Lautaro Lobo

I tried to install gatsby-cli on Linux and some package threw an error. Several times. My life is like ruined! Hard days are coming, days when I'll try to find wtf is going on there and how a simple human can solve it. Yeah I'm heartbroken, it throws a freaking error! Well so congrats on migrating your site, it looks awesome.