Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add fetchMarkdownPosts in utils/index #333

Merged
merged 1 commit into from
Sep 27, 2022
Merged

feat: add fetchMarkdownPosts in utils/index #333

merged 1 commit into from
Sep 27, 2022

Conversation

shinokada
Copy link
Collaborator

@shinokada shinokada commented Sep 27, 2022

  • add fetchMarkdownPosts in utils/index
  • use fetchMarkdownPost in utils/+server.js and you can see it /utils url
  • add /+layout.js to fetch from /utils/+server.js
  • add export let data to +layout.svelte to expose all markdown pages
  • use it in the sidebar nav
  • remove items from moduleItems/server.js

✅ Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed
  • My pull request is based on the latest commit (not the npm version).

use fetchMarkdownPost in utils/+server.js and you can see it /utils url
add /+layout.js to fetch from /utils/+server.js
add export let data to +layout.svelte to expose all markdown pages
use it in the sidebar nav
remove items from moduleItems/server.js
@vercel
Copy link

vercel bot commented Sep 27, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
flowbite-svelte ✅ Ready (Inspect) Visit Preview Sep 27, 2022 at 9:06AM (UTC)
flowbite-svelte-update ✅ Ready (Inspect) Visit Preview Sep 27, 2022 at 9:06AM (UTC)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant