docs: general fixes and overall changes (#7258)
* editing halfway * edited second half * adjust starter steps * fix build * typo fix
This commit is contained in:
@@ -8,13 +8,13 @@ In this chapter, you’ll learn how to create a loader outside a module.
|
||||
|
||||
## Loaders in the Medusa Application
|
||||
|
||||
In your Medusa application, you can create loaders under the `src/loaders` directory. The Medusa application runs these loaders on start-up.
|
||||
In your Medusa application, you can create loaders under the `src/loaders` directory outside a module. The Medusa application runs these loaders on start-up.
|
||||
|
||||
This is useful if you’re performing a task on application start-up, but don’t need to define it in a module.
|
||||
|
||||
---
|
||||
|
||||
## How to Create a Loader Outside Module?
|
||||
## How to Create a Loader Outside a Module?
|
||||
|
||||
To create a loader in your Medusa application outside a module, create a TypeScript or JavaScript file under the `src/loaders` directory that default exports a function.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user