create-pulselang-app
v3.1.0
Published
Scaffold a new Pulse application
Maintainers
Readme
create-pulselang-app
Scaffold a new Pulse application with React 19 + Vite + Tailwind CSS 4.
Usage
npx create-pulselang-app my-app
cd my-app
npm install
npm run devThis creates a new project with:
- React 19 with Vite 5
- Tailwind CSS 4
- Pulse language support with vite-plugin-pulse
- @pulselang/react hooks for signals integration
Project Structure
The generated project includes:
my-app/
├── src/
│ ├── App.jsx - Main component with counter demo
│ ├── PulseCounter.jsx - Pulse signals example
│ ├── main.jsx - React entry point
│ └── index.css - Styles with Tailwind directives
├── public/ - Static assets (logo)
├── index.html - HTML template
├── vite.config.js - Vite + Pulse plugin config
└── package.json - DependenciesDevelopment
After scaffolding, run the dev server:
npm run devBuild for production:
npm run buildPreview the production build:
npm run previewWhat's Included
The template demonstrates:
- Using Pulse signals with
useSignalhook - Fine-grained reactivity without full React re-renders
- Modern dark theme UI with Tailwind CSS 4
- Hot module replacement for fast development
