1.0.14 • Published 1 year ago
create-htmx v1.0.14
create-htmx
Set up a modern HTMX web app by running one command.
Quick Start
To create a new HTMX project, use the following command:
npx create-htmx my-app
Then cd into your app, npm start
and open http://localhost:3000/ to see your app.
This will create a new HTMX app with the latest version of HTMX downloaded and saved locally, ready for you to start developing.
Features
- Sets up a new HTMX project with one command
- Configures Express for server-side routing
- Includes essential files like index.html, styles.css, and htmx.min.js
- Dynamically updates the project name throughout the template
Usage
- Run the command to create a new project:
npx create-htmx my-app
- Navigate to the project directory:
cd my-app
- Start the development server:
npm start
Feedback
Feel free to reach out with any feedback or questions. Happy coding!
#webdevelopment #htmx #javascript #programming #opensource