Skip to content

fix typo in tutorial key concepts #455

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ export default defineConfig({
link: '/tutorial'
},
{
text: 'Key Concept',
link: '/key-concept'
text: 'Key Concepts',
link: '/key-concepts'
},
{
text: 'Table of Content',
Expand Down
8 changes: 4 additions & 4 deletions docs/key-concept.md → docs/key-concepts.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
title: Key Concept - ElysiaJS
title: Key Concepts - ElysiaJS
head:
- - meta
- property: 'og:title'
content: Key Concept - ElysiaJS
content: Key Concepts - ElysiaJS

- - meta
- name: 'description'
Expand All @@ -14,7 +14,7 @@ head:
content: Although Elysia is a simple library, it has some key concepts that you need to understand to use it effectively. This page will guide you through the key concepts of ElysiaJS.
---

# Key Concept
# Key Concepts

### We __highly recommended__ you to read this page before start using Elysia.

Expand All @@ -28,7 +28,7 @@ Every Elysia instance is a component.

A component is a plugin that could plug in to other instances.

A comonent could be a router, a store, a service, or anything else.
A component could be a router, a store, a service, or anything else.

```ts twoslash
import { Elysia } from 'elysia'
Expand Down
2 changes: 1 addition & 1 deletion docs/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ import Deck from '../components/nearl/card-deck.vue'
</script>

<Deck>
<Card title="Key Concept (5 minutes)" href="/key-concept">
<Card title="Key Concepts (5 minutes)" href="/key-concepts">
The core concept of Elysia and how to use it.
</Card>
<Card title="Tutorial (15 minutes)" href="/tutorial">
Expand Down
4 changes: 2 additions & 2 deletions docs/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ We expected it to take around 15-20 minutes if you follow along.
---

### Not a fan of tutorial?
If you prefers to a more try-it-yourself approach, you can skip this tutorial and go straight to the [key concept](/key-concept) page to get a good understanding of how Elysia works.
If you prefers to a more try-it-yourself approach, you can skip this tutorial and go straight to the [key concepts](/key-concepts) page to get a good understanding of how Elysia works.

<script setup>
import Card from '../components/nearl/card.vue'
import Deck from '../components/nearl/card-deck.vue'
</script>

<Deck>
<Card title="Key Concept (5 minutes)" href="/key-concept">
<Card title="Key Concepts (5 minutes)" href="/key-concepts">
The core concept of Elysia and how to use it.
</Card>
</Deck>
Expand Down