Log in Sign up

Is there a way to use frontend JS frameworks?

I've already tried implementing javascript into my blog posts which works perfectly, but I'm curious if there's a way to also use frameworks so that we don't need to write vanilla JS all the time. Specifically I'm thinking of things like React, Svelte, or MDX.

My use case is that sometimes I like having interactive components within my blog posts that may take an input from earlier up in the post and cascade the changes throughout the other components in the post.


a year ago, 2 replies   developers   Edit question

I actually managed to figure out using Svelte. I have a separate project where I'm compiling the Svelte into Files/components.js in my Blot folder, and then importing that in my blog posts.

Answered a year ago · Edit answer

Compiling into your Blot folder is definitely the way to go! Please let me know if you have any questions about this or anything else

Answered a year ago · Edit answer