Skip to content

Commit

Permalink
fix: docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mle-moni committed Apr 26, 2024
1 parent a27512b commit ef37adb
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ You can think of it like **Shadcn** but for Adonis backoffice.

{{< br >}}

Adomin is for developers that are ready to **OWN** the code that they will download.
Adomin is meant to be used as a base for a quick and solid backoffice with the ability to add infinite customisations.

It is meant to be used as a base for a quick and solid backoffice with the ability to add infinite customisations.
It is for developers that are ready to **own** the code that they will copy paste.

We won't be able to provide support for every bug or new feature that you might want.

Expand Down
2 changes: 1 addition & 1 deletion docs/content/docs/configuration/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ title: 'Configuration'

# Configuration

Ceci est la configuration
**this page will land soon™**
23 changes: 21 additions & 2 deletions docs/content/docs/installation/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,24 @@ yarn add xlsx @adonisjs/validator

Adomin use imports starting with `#adomin` so you will have to configure this:

- edit `package.json` and add `"#adomin/_": "./app/adomin/_.js"` inside the `"imports"` object
- edit `tsconfig.json` and add `"#adomin/_": ["./app/adomin/_.js"]` inside the `"paths"` object
- edit `package.json` and add

```ts
"#adomin/*": "./app/adomin/*.js"
```

inside the `"imports"` object

- edit `tsconfig.json` and add

```ts
"#adomin/*": ["./app/adomin/*.js"]
```

inside the `"paths"` object

- edit `start/routes.ts` : add this import statement to enable all of Adomin routes

```ts
import '#adomin/routes/adomin_router'
```

0 comments on commit ef37adb

Please sign in to comment.