Sapper/Svelte:如何添加降价文件? [英] Sapper/Svelte: How do I add markdown files?

查看:85
本文介绍了Sapper/Svelte:如何添加降价文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用默认值 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的支持,但查看和克隆

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:如何添加降价文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆