问题描述
我正在使用默认值 sapper-template-rollup 的Sapper创建博客. .
I am creating a blog using Sapper using the default sapper-template-rollup.
在blog文件夹中,确实提到了从markdown文件生成数据.但是我找不到方法吗?
In the blog folder, it does mention about generating data from markdown files. But I can't find how to do it?
推荐答案
您可能会找到此存储库一个>有帮助.我还在Sapper模板存储库上有一个打开PR ,首先修改了旧版本Markdown分支于2019年1月发布,然后在2019年5月添加了对Svelte 3的支持,但查看和克隆我在GitLab上的仓库,此外,它还有更多我尚未添加到PR的当前依赖项更新.
You may find this repo helpful. I also have an open PR on the Sapper Template repo, first revising the old Markdown branch in Jan. 2019 and then adding Svelte 3 support in May 2019, but it is probably easier to look at and clone my repo on GitLab, plus it has more current dependency updates I have not added to the PR yet.
这篇关于Sapper/Svelte:如何添加降价文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!