blog-starter-源码

上传者: 42120283 | 上传时间: 2021-04-09 09:05:58 | 文件大小: 301KB | 文件类型: ZIP
使用Next.js和Markdown静态生成的博客示例 此示例展示了使用Markdown文件作为数据源的Next.js的功能。 博客文章以Markdown文件的形式存储在/_posts ,并具有前端事务支持。 在其中添加新的Markdown文件将创建一个新的博客文章。 要创建博客文章,我们使用和将Markdown文件转换为HTML字符串,然后将其作为道具发送到页面。 每个帖子的元数据均由处理,并以道具形式发送到页面。 演示版 自己部署 使用部署示例: 相关例子 有满足感 Strapi 敏捷CMS 宇宙的 ButterCMS 故事块 图形CMS 康腾 如何使用 使用npm或Yarn执行create-next-app以引导示例: npx create-next-app --example blog-starter blog-starter-app # or yarn creat

文件下载

资源详情

[{"title":"( 50 个子文件 301KB ) blog-starter-源码","children":[{"title":"blog-starter-master","children":[{"title":"components","children":[{"title":"layout.js <span style='color:#111;'> 359B </span>","children":null,"spread":false},{"title":"hero-post.js <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"post-title.js <span style='color:#111;'> 236B </span>","children":null,"spread":false},{"title":"alert.js <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"section-separator.js <span style='color:#111;'> 103B </span>","children":null,"spread":false},{"title":"date-formatter.js <span style='color:#111;'> 214B </span>","children":null,"spread":false},{"title":"post-header.js <span style='color:#111;'> 889B </span>","children":null,"spread":false},{"title":"more-stories.js <span style='color:#111;'> 697B </span>","children":null,"spread":false},{"title":"cover-image.js <span style='color:#111;'> 662B </span>","children":null,"spread":false},{"title":"header.js <span style='color:#111;'> 296B </span>","children":null,"spread":false},{"title":"meta.js <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"footer.js <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"container.js <span style='color:#111;'> 118B </span>","children":null,"spread":false},{"title":"markdown-styles.module.css <span style='color:#111;'> 251B </span>","children":null,"spread":false},{"title":"avatar.js <span style='color:#111;'> 253B </span>","children":null,"spread":false},{"title":"intro.js <span style='color:#111;'> 671B </span>","children":null,"spread":false},{"title":"post-preview.js <span style='color:#111;'> 908B </span>","children":null,"spread":false},{"title":"post-body.js <span style='color:#111;'> 296B </span>","children":null,"spread":false}],"spread":false},{"title":".gitignore <span style='color:#111;'> 386B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 2.65KB </span>","children":null,"spread":false},{"title":"public","children":[{"title":"favicon","children":[{"title":"mstile-150x150.png <span style='color:#111;'> 3.48KB </span>","children":null,"spread":false},{"title":"site.webmanifest <span style='color:#111;'> 392B </span>","children":null,"spread":false},{"title":"safari-pinned-tab.svg <span style='color:#111;'> 1.91KB </span>","children":null,"spread":false},{"title":"android-chrome-192x192.png <span style='color:#111;'> 4.68KB </span>","children":null,"spread":false},{"title":"favicon-32x32.png <span style='color:#111;'> 880B </span>","children":null,"spread":false},{"title":"android-chrome-512x512.png <span style='color:#111;'> 14.30KB </span>","children":null,"spread":false},{"title":"apple-touch-icon.png <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"browserconfig.xml <span style='color:#111;'> 255B </span>","children":null,"spread":false},{"title":"favicon-16x16.png <span style='color:#111;'> 595B </span>","children":null,"spread":false},{"title":"favicon.ico <span style='color:#111;'> 14.73KB </span>","children":null,"spread":false}],"spread":true},{"title":"assets","children":[{"title":"blog","children":[{"title":"preview","children":[{"title":"cover.jpg <span style='color:#111;'> 43.23KB </span>","children":null,"spread":false}],"spread":true},{"title":"authors","children":[{"title":"joe.jpeg <span style='color:#111;'> 7.03KB </span>","children":null,"spread":false},{"title":"jj.jpeg <span style='color:#111;'> 6.04KB </span>","children":null,"spread":false},{"title":"tim.jpeg <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"dynamic-routing","children":[{"title":"cover.jpg <span style='color:#111;'> 114.96KB </span>","children":null,"spread":false}],"spread":true},{"title":"hello-world","children":[{"title":"cover.jpg <span style='color:#111;'> 102.94KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"_posts","children":[{"title":"preview.md <span style='color:#111;'> 2.19KB </span>","children":null,"spread":false},{"title":"dynamic-routing.md <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false},{"title":"hello-world.md <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false}],"spread":true},{"title":"pages","children":[{"title":"_document.js <span style='color:#111;'> 290B </span>","children":null,"spread":false},{"title":"posts","children":[{"title":"[slug].js <span style='color:#111;'> 2.07KB </span>","children":null,"spread":false}],"spread":true},{"title":"_app.js <span style='color:#111;'> 128B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false}],"spread":true},{"title":"package.json <span style='color:#111;'> 507B </span>","children":null,"spread":false},{"title":"styles","children":[{"title":"index.css <span style='color:#111;'> 276B </span>","children":null,"spread":false}],"spread":true},{"title":"postcss.config.js <span style='color:#111;'> 65B </span>","children":null,"spread":false},{"title":"tailwind.config.js <span style='color:#111;'> 683B </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"constants.js <span style='color:#111;'> 316B </span>","children":null,"spread":false},{"title":"markdownToHtml.js <span style='color:#111;'> 206B </span>","children":null,"spread":false},{"title":"api.js <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明