Skip to content

Commit

Permalink
Add note about /routes endpoint in README
Browse files Browse the repository at this point in the history
  • Loading branch information
markschellhas committed Aug 8, 2023
1 parent 29cb00b commit 5cc61b4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ Chic.js is a rapid prototyping tool for Sveltekit. Use the CLI to scaffold your
4. Run the development server with `chic s`
5. And voila! You have a working app with a Book resource.

## Routes

Chic.js adds a `/routes` endpoint to your app, which shows all the routes in your app - for example API endpoints for your resources created by Chic.js. This is useful for debugging and development. To hide the `/routes` endpoint in production, set `CHIC_DEBUG=OFF` in your `.env` file.


## Chic commands

| Command | Description |
Expand Down

0 comments on commit 5cc61b4

Please sign in to comment.