Total Pageviews

Monday, 3 February 2025

搭建基于github issue+svelte的静态博客程序sdi

 

 

首先fork此项目https://github.com/swyxio/swyxdotio,我fork后的项目地址是https://github.com/briteming/sdi。然后访问https://github.com/briteming/sdi/settings,勾选issues. 然后,新建一些issues.  

然后编辑siteConfig.js文件- https://github.com/briteming/sdi/blob/master/src/lib/siteConfig.js,修改第2行的值,第11行的值。

编辑svelte.config.js文件-https://github.com/briteming/sdi/blob/master/svelte.config.js,修改第22行和第25行。

然后访问https://app.netlify.com/,点击页面右上角的add new site, 在弹出的下拉菜单中,选择

importing an existing project.


https://github.com/swyxio/swyxdotio

(https://github.com/swyxio/swyxkit)


https://github.com/briteming/sdi/blob/master/.env.example

No comments:

Post a Comment