dylan
@dylsteck.eth
the trick to editing static website content that blew my mind: use .md files for your content and you have the most beautiful, hot reloading text editor in Obsidian to edit your files luckily my Next.js site was already using static .mdx files so all I had to do was change the filetypes to .md and open that sub directory in Obsidian highly recommend this setup
7 replies
1 recast
20 reactions
dylan
@dylsteck.eth
also, I took a sec to swap out the Farcaster frame sdk for MiniKit and here’s all the code it took!
1 reply
0 recast
2 reactions
dylan
@dylsteck.eth
another small note: to get this to work properly i had to remove the turbopack option from `next dev` -- not a huge deal here bc/ this change is worth it but would obv like for turbopack to support this in the future too :) also i didn't have to use the `extensions` option like it says below(maybe bc i'm already using next-mdx-remote ?) https://warpcast.com/dylsteck.eth/0x64e55c63
0 reply
0 recast
2 reactions
Kerem Gurel
@keremgurel
I was planning on setting up a blog section for onchainsite, this is right on time!
1 reply
0 recast
1 reaction
abdulla
@abdullaalkamil
Love this! How are you generating the site? I struggled with actually doing a static site with nextjs (rather than server side)
1 reply
0 recast
1 reaction
to
@to
yo this is 🤯
0 reply
0 recast
1 reaction
tricil
@tricil.eth
Hot!
0 reply
0 recast
1 reaction
Sirsu is in Flight 🎩✈️
@
Shit that is a great idea
0 reply
0 recast
1 reaction