CLI tool for create-htmx-app.
npm install new-htmx-app
npm install -g new-htmx-app
`
Usage
Once installed, you can create a new htmx app by running the following command:
bash
`
npx new-htmx-app
`
Replace with the desired name for your application.
Options
During the setup process, you will be prompted to choose from the following options:
Include Tailwind CSS via CDN: Choose whether to include Tailwind CSS via a Content Delivery Network (CDN).
Set up TypeScript: Choose whether to set up TypeScript for your project.
Example
Here's an example of how to create a new htmx app called "my-htmx-app"
bash
`
npx new-htmx-app my-htmx-app
``