How to create pages from markdown in SvelteKit

Viewed 1470

I'm in the process of migrating my blog from Sapper to SvelteKit. I've written blog posts using markdown, and I was using markedjs to import the markdown files and export them to my component. It looks like this approach doesn't work with SvelteKit, however.

How would I do this using SvelteKit? Do I need a Vite plugin?

1 Answers
Related