docs: update modules chapter in basics (#9452)

* docs: update modules chapter in basics

* address PR feedback
This commit is contained in:
Shahed Nasser
2024-10-04 14:15:41 +03:00
committed by GitHub
parent d98f22c7d6
commit ed174826a4
24 changed files with 339 additions and 319 deletions
@@ -10,13 +10,13 @@ In this document, you'll learn about the expected files and directories in your
## index.ts
The `index.ts` file in the root of your module's directory is the only required file. It must export the module's definition as explained in a [previous chapter](../modules-and-services/page.mdx).
The `index.ts` file in the root of your module's directory is the only required file. It must export the module's definition as explained in a [previous chapter](../modules/page.mdx).
---
## service.ts
A module must have a main service. It's created in the `service.ts` file at the root of your module directory as explained in a [previous chapter](../modules-and-services/page.mdx).
A module must have a main service. It's created in the `service.ts` file at the root of your module directory as explained in a [previous chapter](../modules/page.mdx).
---