create-elit
v3.6.7
Published
Scaffolding tool for creating Elit projects
Maintainers
Readme
create-elit
Scaffolding tool for creating new Elit projects.
Usage
Default starter:
npm create elit@latest my-appPick a template:
npm create elit@latest my-app -- --template basicList available templates:
npm create elit@latest -- --list-templatesWith other package managers:
yarn create elit my-app --template todo
pnpm create elit my-app --template todo
bun create elit my-app --template todo
deno run -A npm:create-elit my-app --template todoTemplates
basic- lightweight single-page starter with a reactive counter and no API setuptodo(default) - fullstack todo workspace with persistence indatabases/todo.tsviaelit/databaseauth- auth and chat starter with profile and messaging flows
You can also use the full folder names:
basic-exampletodo-fullstack-exampleauth-fullstack-example
CLI flags:
-t,--template <name>- choose a template-l,--list-templates- show available templates-h,--help- show usage and template options
What Each Project Includes
- TypeScript setup
package.jsonwith Elit scriptselit.config.tsfor dev, build, preview, mobile, desktop, and WAPK flows- Auto-generated hidden files such as
.gitignore,.wapkignore, and.wapkpatch - A ready-to-run README tailored to the selected starter
Example
npm create elit@latest my-elit-app -- --template basic
cd my-elit-app
npm install
npm run devVisit http://localhost:3003 to see your app.
Learn More
License
MIT
