Skip to content

Commit

Permalink
docs(readme): add installing and starter template
Browse files Browse the repository at this point in the history
  • Loading branch information
yusukebe committed Feb 9, 2024
1 parent e37308a commit 3837b16
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,22 @@
- **Islands hydration** - If you want interactions, create an island. JavaScript is hydrated only for it.
- **Middleware** - It works as Hono, so you can use a lot of Hono's middleware.

## Installing

You can install the `honox` package from the npm.

```txt
npm install hono honox
```

## Starter template

If you are starting a new HonoX project, use the `hono-create` command. Run the following and choose `x-basic`.

```txt
npm create hono@latest
```

## Get Started - Basic

Let's create a basic HonoX application using hono/jsx as a renderer. This application has no client JavaScript and renders JSX on the server side.
Expand Down

0 comments on commit 3837b16

Please sign in to comment.